diff options
| author | David Faure <faure@kde.org> | 2006-03-21 23:49:38 +0000 | 
|---|---|---|
| committer | David Faure <faure@kde.org> | 2006-03-21 23:49:38 +0000 | 
| commit | 52859673a5572bf58945fc024b93f3f8edfc052c (patch) | |
| tree | 4cc8827af9fadc49cdb7a54dd2db7e90bb5707e7 /modules | |
| parent | 6059e6c2471477fccf24d5054f9f62b71672345b (diff) | |
| download | extra-cmake-modules-52859673a5572bf58945fc024b93f3f8edfc052c.tar.gz extra-cmake-modules-52859673a5572bf58945fc024b93f3f8edfc052c.tar.bz2 | |
GETTEXT_LIBRARIES was used, but never actually set to anything. This is necessary
for me on the Mac (not sure why it linked on linux...)
svn path=/trunk/KDE/kdelibs/; revision=521236
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindGettext.cmake | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/modules/FindGettext.cmake b/modules/FindGettext.cmake index cc29f0c1..be931d80 100644 --- a/modules/FindGettext.cmake +++ b/modules/FindGettext.cmake @@ -21,6 +21,14 @@ if (HAVE_LIBINTL_H)     set(GETTEXT_SOURCE "built in libc (libintl.h present)")  endif (HAVE_LIBINTL_H) +# Check for libintl, and check that it provides libintl_dgettext. +FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl libintl +   PATHS +   /usr/lib +   /usr/local/lib +) +CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" GETTEXT_LIBRARIES) +  if (GETTEXT_FOUND)     if (NOT Gettext_FIND_QUIETLY)        message(STATUS "Found Gettext: ${GETTEXT_SOURCE}") | 
