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 fa4fcd4 commit a0ad78dCopy full SHA for a0ad78d
CMakeLists.txt
@@ -53,7 +53,9 @@ include(GNUInstallDirs)
53
54
set(CMAKE_SKIP_BUILD_RPATH FALSE)
55
set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
56
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+if(NOT APPLE)
57
+ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
58
+endif()
59
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
60
61
add_subdirectory(src)
0 commit comments