]> source.dussan.org Git - rspamd.git/commitdiff
* Libintl hack
authorcebka@lenovo-laptop <cebka@lenovo-laptop>
Fri, 19 Feb 2010 15:32:38 +0000 (18:32 +0300)
committercebka@lenovo-laptop <cebka@lenovo-laptop>
Fri, 19 Feb 2010 15:32:38 +0000 (18:32 +0300)
CMakeLists.txt

index 270188dfb8aa2a3679d0a0cebd725555d7dcbda9..09979813739f53813102cf09b68a6725969ad9e9 100644 (file)
@@ -539,6 +539,8 @@ ENDIF(ENABLE_STATIC MATCHES "ON")
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
        TARGET_LINK_LIBRARIES(rspamd rt)
        TARGET_LINK_LIBRARIES(rspamd dl)
+ELSE(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+       TARGET_LINK_LIBRARIES(rspamd intl)
 ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
 
 IF(ENABLE_GPERF_TOOLS MATCHES "ON")
@@ -559,6 +561,8 @@ IF(ENABLE_STATIC MATCHES "ON")
 ENDIF(ENABLE_STATIC MATCHES "ON")
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
        TARGET_LINK_LIBRARIES(test/rspamd-test rt)
+ELSE(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+       TARGET_LINK_LIBRARIES(test/rspamd-test intl)
 ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
 
 ADD_EXECUTABLE(utils/url-extracter ${UTILSDEPENDS} ${CONTRIBSRC} ${UTILSSRC})
@@ -574,6 +578,8 @@ IF(ENABLE_STATIC MATCHES "ON")
 ENDIF(ENABLE_STATIC MATCHES "ON")
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
        TARGET_LINK_LIBRARIES(utils/url-extracter rt)
+ELSE(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+       TARGET_LINK_LIBRARIES(utils/url-extracter intl)
 ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
 
 ADD_EXECUTABLE(utils/expression-parser ${UTILSDEPENDS} ${CONTRIBSRC} ${EXPRSRC})
@@ -589,6 +595,8 @@ IF(ENABLE_STATIC MATCHES "ON")
 ENDIF(ENABLE_STATIC MATCHES "ON")
 IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
        TARGET_LINK_LIBRARIES(utils/expression-parser rt)
+ELSE(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+       TARGET_LINK_LIBRARIES(utils/expression-parser intl)
 ENDIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
 
 ##################### INSTALLATION ##########################################