Added in version 3.2.
Find the Gettext libintl headers and libraries.
This module reports information about the Gettext libintl installation in several variables.
True if libintl is found.
The directory containing the libintl headers.
The intl libraries to be linked.
Added in version 3.21.
The version of intl found (x.y.z)
Added in version 3.21.
The major version of intl
Added in version 3.21.
The minor version of intl
Added in version 3.21.
The patch version of intl
Added in version 3.20: This module defines IMPORTED
target Intl::Intl
.
The following cache variables may also be set:
The directory containing the libintl headers
The libintl library (if any)
Added in version 3.20.
whether intl
is a part of the C library.
Note
On some platforms, such as Linux with GNU libc, the gettext
functions are present in the C standard library and libintl
is not required. Intl_LIBRARIES
will be empty in this
case.
Note
Some libintl implementations don't embed the version number in their header files.
In this case the variables Intl_VERSION*
will be empty.
Note
If you wish to use the Gettext tools (msgmerge
,
msgfmt
, etc.), use FindGettext
.