We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5020015 commit 9271786Copy full SHA for 9271786
CMakeLists.txt
@@ -68,6 +68,11 @@ set(ENABLE_LTO ON CACHE BOOL "Enable LTO build?")
68
set(ENABLE_STRIP ON CACHE BOOL "Enable stripping all symbols from release binary?")
69
set(ENABLE_COMPILE_COMMANDS ON CACHE BOOL "Enable generating compile_commands.json?")
70
71
+if (APPLE)
72
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH ON)
73
+ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
74
+endif()
75
+
76
if(USING_MSVC)
77
set(ENABLE_STATIC_CRT OFF CACHE BOOL "Enable MSVC static CRT?")
78
endif()
0 commit comments