summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Wachter <bwachter-tmw@lart.info>2010-05-02 18:29:42 +0300
committerBernd Wachter <bwachter-tmw@lart.info>2010-05-02 19:37:21 +0300
commitb5bf64c2106709b41ddd966e53e22fc87f47413c (patch)
tree87572810e3fbf4b0fc98cc3e2e21607b158c7ece
parent4f55e04014375922d41347e6d5816c91a0dfe349 (diff)
downloadmana-b5bf64c2106709b41ddd966e53e22fc87f47413c.tar.gz
mana-b5bf64c2106709b41ddd966e53e22fc87f47413c.tar.bz2
mana-b5bf64c2106709b41ddd966e53e22fc87f47413c.tar.xz
mana-b5bf64c2106709b41ddd966e53e22fc87f47413c.zip
Fix cmake builds for OS X
-rw-r--r--src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8172311e..b15948d3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -41,6 +41,8 @@ ENDIF()
IF (WIN32)
SET(EXTRA_LIBRARIES ws2_32 winmm)
FIND_PACKAGE(LibIntl REQUIRED)
+ELSEIF (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
+ FIND_PACKAGE(LibIntl REQUIRED)
ELSEIF (CMAKE_SYSTEM_NAME STREQUAL SunOS)
# explicit linking to libintl is required on Solaris
SET(EXTRA_LIBRARIES intl)