summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPiotr Dziwiński <piotrdz@gmail.com>2013-10-26 09:21:03 -0700
committerPiotr Dziwiński <piotrdz@gmail.com>2013-10-26 09:21:03 -0700
commit19a7196b6131c418ecee72525939c43f37fc49d9 (patch)
treef783e7ed6dc373d603ddeef612db2e7f82290d94 /test
parent7fb83068edab0212e17cf3c059705de9d2d43ca1 (diff)
parent9ddb034bfa3416d64e298022bf594b4481261fae (diff)
downloadcolobot-19a7196b6131c418ecee72525939c43f37fc49d9.tar.gz
colobot-19a7196b6131c418ecee72525939c43f37fc49d9.tar.bz2
colobot-19a7196b6131c418ecee72525939c43f37fc49d9.zip
Merge pull request #242 from OdyX/dev-macosx
Mac OSX (Darwin) build support
Diffstat (limited to 'test')
-rw-r--r--test/unit/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 34570a6..1f5e1bc 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -10,7 +10,8 @@ elseif(PLATFORM_LINUX)
# for clock_gettime
set(PLATFORM_LIBS "-lrt -lX11")
elseif(PLATFORM_MACOSX)
- set(PLATFORM_LIBS ${X11_X11_LIB})
+ find_library(LIBINTL_LIBRARY NAMES intl libintl )
+ set(PLATFORM_LIBS ${LIBINTL_LIBRARY} ${X11_X11_LIB})
endif()