aboutsummaryrefslogtreecommitdiff
path: root/modules/FindGettext.cmake
diff options
context:
space:
mode:
authorChusslove Illich <caslav.ilic@gmx.net>2006-03-21 21:47:55 +0000
committerChusslove Illich <caslav.ilic@gmx.net>2006-03-21 21:47:55 +0000
commitfbab97f4ca86b780d8351e063672dda8cf84bd04 (patch)
treec6b6f89418da618287c50a138c22ccf92e6fc6dc /modules/FindGettext.cmake
parent63aacc4e98710e556db8defca1892e46f612453f (diff)
downloadextra-cmake-modules-fbab97f4ca86b780d8351e063672dda8cf84bd04.tar.gz
extra-cmake-modules-fbab97f4ca86b780d8351e063672dda8cf84bd04.tar.bz2
Messages for Gettext configure check more in line with others.
svn path=/trunk/KDE/kdelibs/; revision=521204
Diffstat (limited to 'modules/FindGettext.cmake')
-rw-r--r--modules/FindGettext.cmake11
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/FindGettext.cmake b/modules/FindGettext.cmake
index 2244b742..cc29f0c1 100644
--- a/modules/FindGettext.cmake
+++ b/modules/FindGettext.cmake
@@ -18,18 +18,17 @@ set(GETTEXT_LIBRARIES)
if (HAVE_LIBINTL_H)
set(GETTEXT_FOUND TRUE)
- set(GETTEXT_SOURCE "libintl.h")
+ set(GETTEXT_SOURCE "built in libc (libintl.h present)")
endif (HAVE_LIBINTL_H)
if (GETTEXT_FOUND)
if (NOT Gettext_FIND_QUIETLY)
- message(STATUS "Gettext functionality present (${GETTEXT_SOURCE})")
+ message(STATUS "Found Gettext: ${GETTEXT_SOURCE}")
endif (NOT Gettext_FIND_QUIETLY)
else (GETTEXT_FOUND)
- if (NOT Gettext_FIND_QUIETLY)
- message(STATUS "Gettext functionality NOT present, "
- "translations will not be available")
- endif (NOT Gettext_FIND_QUIETLY)
+ if (Gettext_FIND_REQUIRED)
+ message(STATUS "Could NOT find Gettext")
+ endif (Gettext_FIND_REQUIRED)
endif (GETTEXT_FOUND)
MARK_AS_ADVANCED(GETTEXT_INCLUDE_DIR GETTEXT_LIBRARIES)