We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ab25d0 commit dccbdceCopy full SHA for dccbdce
CMakeLists.txt
@@ -82,6 +82,8 @@ set(UMF_PROXY_LIB_BASED_ON_POOL
82
set_property(CACHE UMF_PROXY_LIB_BASED_ON_POOL
83
PROPERTY STRINGS ${KNOWN_PROXY_LIB_POOLS})
84
85
+set(UMF_INSTALL_RPATH "" CACHE STRING "Set the runtime search path to the directory containing hwloc library")
86
+
87
if(UMF_BUILD_TESTS
88
AND DEFINED ENV{CI}
89
AND NOT UMF_TESTS_FAIL_ON_SKIP)
src/CMakeLists.txt
@@ -115,6 +115,10 @@ elseif(MACOSX)
115
endif()
116
117
if(UMF_BUILD_SHARED_LIBRARY)
118
+ if(NOT "${UMF_INSTALL_RPATH}" STREQUAL "")
119
+ set(CMAKE_INSTALL_RPATH ${UMF_INSTALL_RPATH})
120
+ endif()
121
122
if(NOT UMF_DISABLE_HWLOC)
123
set(HWLOC_LIB ${UMF_HWLOC_NAME})
124
0 commit comments