FindIntl¶
New in version 3.2.
Find the Gettext libintl headers and libraries.
This module reports information about the Gettext libintl installation in several variables.
- Intl_FOUND¶
True if libintl is found.
- Intl_INCLUDE_DIRS¶
The directory containing the libintl headers.
- Intl_LIBRARIES¶
The intl libraries to be linked.
New in version 3.20: This module defines IMPORTED
target Intl::Intl
.
The following cache variables may also be set:
- Intl_INCLUDE_DIR¶
The directory containing the libintl headers
- Intl_LIBRARY¶
The libintl library (if any)
- Intl_IS_BUILT_IN¶
New 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
If you wish to use the Gettext tools (msgmerge
,
msgfmt
, etc.), use FindGettext
.