diff options
author | Didier 'OdyX' Raboud <didier@raboud.com> | 2013-10-25 12:01:29 +0200 |
---|---|---|
committer | Didier Raboud <odyx@debian.org> | 2013-10-26 13:19:23 +0200 |
commit | 9ddb034bfa3416d64e298022bf594b4481261fae (patch) | |
tree | f783e7ed6dc373d603ddeef612db2e7f82290d94 /test/unit/CMakeLists.txt | |
parent | f31a570d96e1a0ee28baecefa18b7e8c586c201c (diff) | |
download | colobot-9ddb034bfa3416d64e298022bf594b4481261fae.tar.gz colobot-9ddb034bfa3416d64e298022bf594b4481261fae.tar.bz2 colobot-9ddb034bfa3416d64e298022bf594b4481261fae.zip |
Add libintl library to the unit tests on Mac OSX
Diffstat (limited to 'test/unit/CMakeLists.txt')
-rw-r--r-- | test/unit/CMakeLists.txt | 3 |
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() |