[cmake-developers] [PATCH] FindIntl: Module to find Gettext libintl headers and library

Roger Leigh rleigh at codelibre.net
Sun Nov 9 18:55:00 EST 2014


Hi,

I have attached an initial patch for adding support for Sun/Uniforum/GNU
gettext libintl.  This is likely better in cmake than upstream because
there are:

1) multiple upstreams (Sun, GNU)
2) it may or may not be in the glibc C library depending upon the platform
   and build options used

It could be argued that this belongs in the FindGettext module, which is
currently restricted to the Gettext tools rather than the library and
headers, and I'd certainly be fine with that.  However, given the unusual
nature of the library, I think the "_FOUND" variable should probably be
separate given that it's perfectly OK to use libintl without the gettext
tools (and vice versa), and they might not all be found.  I've added
cross references between the two in notes to make the relationship
clearer.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-FindIntl-New-module-to-find-Gettext-libintl.patch
Type: text/x-diff
Size: 4019 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141109/b300ac82/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20141109/b300ac82/attachment.sig>


More information about the cmake-developers mailing list