diff options
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | contrib/aho-corasick/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 673396e56..7c54841a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -95,7 +95,7 @@ IF(NOT LIBDIR) ELSE(NOT LIBDIR) SET(RSPAMD_LIBDIR "${LIBDIR}/rspamd") ENDIF(NOT LIBDIR) - +SET(CMAKE_MACOSX_RPATH ON) SET(CMAKE_INSTALL_RPATH "${RSPAMD_LIBDIR}") # Set includedir diff --git a/contrib/aho-corasick/CMakeLists.txt b/contrib/aho-corasick/CMakeLists.txt index 3bccab7b2..d185245cb 100644 --- a/contrib/aho-corasick/CMakeLists.txt +++ b/contrib/aho-corasick/CMakeLists.txt @@ -5,4 +5,4 @@ if ("${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQU endif () ADD_LIBRARY(rspamd-actrie SHARED ${AHOCORASICSRC}) INSTALL(TARGETS rspamd-actrie - LIBRARY DESTINATION {RSPAMD_LIBDIR}) + LIBRARY DESTINATION ${RSPAMD_LIBDIR}) |