Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
ATMI Release for ROCm v5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinma committed Sep 30, 2022
1 parent 2cd43c0 commit 79841ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/runtime/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,14 @@ target_link_libraries(
)

if (NOT CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH "$ORIGIN;$ORIGIN/../../hsa/lib;$ORIGIN/../../lib;$ORIGIN/../../lib64;$ORIGIN/../lib64")
set_target_properties(atmi_runtime
PROPERTIES
SKIP_BUILD_RPATH FALSE
BUILD_WITH_INSTALL_RPATH FALSE
INSTALL_RPATH_USE_LINK_PATH TRUE
BUILD_RPATH "\$ORIGIN;\$ORIGIN/../../hsa/lib;\$ORIGIN/../../lib;\$ORIGIN/../../lib64;\$ORIGIN/../lib64"
INSTALL_RPATH "\$ORIGIN;\$ORIGIN/../../hsa/lib;\$ORIGIN/../../lib;\$ORIGIN/../../lib64;\$ORIGIN/../lib64"
)
endif ()

# set output dir for .h files
Expand Down

0 comments on commit 79841ea

Please sign in to comment.