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.
This commit is contained in:
Roger Leigh
2014-11-09 22:46:58 +00:00
committed by Brad King
parent f476b41fd8
commit c5e797dbb8
4 changed files with 74 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
.. cmake-module:: ../../Modules/FindIntl.cmake