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


[ROCm/clr commit: cbbf0d1edd]
このコミットが含まれているのは:
jatang committed 2022-10-19 18:17:17 -04:00
1 親 db848fbcd2
コミット cecfda83f5
1ファイル変更
+2
+2
ファイルの表示
@@ -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)