summaryrefslogtreecommitdiff
path: root/Modules/FindGettext.cmake
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@codelibre.net>2014-11-09 22:46:58 +0000
committerBrad King <brad.king@kitware.com>2014-11-11 13:02:16 -0500
commitc5e797dbb8b2b507431c665e924a41ed0def879e (patch)
treed11efb7a1fa13e96a75dcd1ba1347306dbc67b02 /Modules/FindGettext.cmake
parentf476b41fd8a92c7784a84059f615fdf8155d687e (diff)
downloadcmake-c5e797dbb8b2b507431c665e924a41ed0def879e.tar.gz
FindIntl: New module to find Gettext libintl
Add support for Sun/Uniforum/GNU gettext libintl. This belongs in CMake rather than upstream because: * There are multiple upstreams (Sun, GNU). * It may or may not be in the glibc C library depending upon the platform and build options used. Although we already have a FindGettext module, that is for the tools. This module is for the library, and is independent because it's perfectly OK to use libintl without the gettext tools (and vice versa), and they might not all be found. Add cross references between the two modules in notes to make the relationship clearer.
Diffstat (limited to 'Modules/FindGettext.cmake')
-rw-r--r--Modules/FindGettext.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FindGettext.cmake b/Modules/FindGettext.cmake
index f972ad02b2..ac53c3fe3a 100644
--- a/Modules/FindGettext.cmake
+++ b/Modules/FindGettext.cmake
@@ -50,6 +50,9 @@
# (by default use share/locale/).
# If ALL is specified, the po files are processed when building the all traget.
# It creates a custom target "pofiles".
+#
+# .. note::
+# If you wish to use the Gettext library (libintl), use :module:`FindIntl`.
#=============================================================================
# Copyright 2007-2009 Kitware, Inc.