We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8196b4b + dcb2ec4 commit 38d46a0Copy full SHA for 38d46a0
1 file changed
CMakeLists.txt
@@ -26,8 +26,9 @@ if(WIN32)
26
elseif(APPLE)
27
cmake_policy(SET CMP0042 NEW)
28
cmake_policy(SET CMP0068 NEW)
29
- set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
30
- set(CMAKE_INSTALL_NAME_DIR "@loader_path")
+ # build libraries use full hard-coded binary path, install libraries replace it by @rpath
+ set(CMAKE_MACOSX_RPATH OFF)
31
+ set(CMAKE_INSTALL_NAME_DIR "@rpath")
32
endif(WIN32)
33
34
0 commit comments