diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-11 15:13:55 -0700 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-04-11 15:13:55 -0700 |
commit | e4a490dee60978f7493e703cf5af1a64cf513b67 (patch) | |
tree | c74eb614dee8a3a1c30c79be0daf9ece248327a0 /CMakeLists.txt | |
parent | a9fba6f528239db087328a34f4a72b6ba8ee0488 (diff) | |
download | rspamd-e4a490dee60978f7493e703cf5af1a64cf513b67.tar.gz rspamd-e4a490dee60978f7493e703cf5af1a64cf513b67.zip |
Do not link to libintl explicitly on BSD.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1cc4b009e..f465da28d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -323,12 +323,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") IF(ENABLE_REDIRECTOR MATCHES "ON") CONFIGURE_FILE(freebsd/redirector.sh.in freebsd/redirector @ONLY) ENDIF(ENABLE_REDIRECTOR MATCHES "ON") - FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl PATHS /lib - /opt/lib - /usr/lib - /usr/local/lib - DOC "Path where the libintl library can be found") - LIST(APPEND RSPAMD_REQUIRED_LIBRARIES ${LIBINTL_LIBRARY}) MESSAGE(STATUS "Configuring for FreeBSD") ENDIF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") @@ -337,12 +331,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_BSD_SOURCE -DDARWIN") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS} -undefined dynamic_lookup") - FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl PATHS /lib - /opt/lib - /usr/lib - /usr/local/lib - DOC "Path where the libintl library can be found") - LIST(APPEND RSPAMD_REQUIRED_LIBRARIES ${LIBINTL_LIBRARY}) MESSAGE(STATUS "Configuring for Darwin") ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Darwin") |