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]
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user