We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d386c27 commit bc62cd1Copy full SHA for bc62cd1
1 file changed
cmake/install/Runpath.cmake
@@ -31,12 +31,14 @@ message(
31
32
if(APPLE)
33
set(_rpath "@loader_path/${_rel}")
34
+ list(APPEND _rpath @loader_path)
35
else()
36
set(_rpath "$ORIGIN/${_rel}")
37
+ list(APPEND _rpath $ORIGIN)
38
endif()
39
40
# Append runtime path
-list(APPEND CMAKE_INSTALL_RPATH ${_rpath};$ORIGIN)
41
+list(APPEND CMAKE_INSTALL_RPATH ${_rpath})
42
message(STATUS "CMAKE_INSTALL_RPATH:${CMAKE_INSTALL_RPATH}")
43
44
# Skip RPATH for MinGW and Windows
0 commit comments