summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2016-05-04 09:59:52 -0400
committerAllen Winter <allen.winter@kdab.com>2016-05-04 09:59:52 -0400
commit694c875fdea1e5153a970d305e5aa0d84fef9d89 (patch)
tree7f63a1507eab1eb6c73a5f356fe55f59ac265101 /cmake
parent511579814e28f8ed70ffd9f52c2387b73a719b3b (diff)
downloadlibical-git-694c875fdea1e5153a970d305e5aa0d84fef9d89.tar.gz
try harder to find libintl on osx
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindGLib.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/modules/FindGLib.cmake b/cmake/modules/FindGLib.cmake
index 8c0222bd..c6bd70af 100644
--- a/cmake/modules/FindGLib.cmake
+++ b/cmake/modules/FindGLib.cmake
@@ -17,6 +17,14 @@ if(PKG_CONFIG_FOUND)
set(GLIB_CFLAGS "${_pc_glib_CFLAGS}")
set(GLIB_LIBRARIES "${_pc_glib_LIBRARIES}")
endif()
+ if(APPLE)
+ find_library(
+ INTL_LIBRARY
+ NAMES intl
+ HINTS
+ /usr/local/opt/gettext/lib
+ )
+ endif()
endif()
mark_as_advanced(