SWDEV-362891 - Add the ocltst install path to RUNPATH.

So ocltst can automatically find liboclruntime.so from the same directory as ocltst.

Change-Id: Id2f4f58b1c7f0304be76a3aeecd5eea2eec328de
Este cometimento está contido em:
jatang cometeu 2022-10-19 18:17:17 -04:00
1 ascendente cf9f9e84b8
cometimento cbbf0d1edd
1 ficheiro modificado
+2
+2
Ver ficheiro
@@ -39,5 +39,7 @@ target_link_libraries(ocltst
OpenCL
)
set_target_properties(ocltst PROPERTIES INSTALL_RPATH "$ORIGIN")
INSTALL(TARGETS ocltst DESTINATION tests/ocltst COMPONENT ocltst)