summaryrefslogtreecommitdiffstats
path: root/Modules/FindIntl.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindIntl: Use explicit find_library signature NAMES keywordBrad King2021-04-261-1/+3
|
* FindIntl: Fix detection of intl built in to C libraryBrad King2021-03-261-44/+57
| | | | | | | | | | | Since commit c30d06b7e6 (FindIntl: Add imported target, 2020-10-06, v3.20.0-rc1~687^2) we use `check_symbol_exists` to check whether the `intl` library is built in to the C library. On some platforms the tested symbols are provided as macros so the check passes without linking any symbol. Instead, check whether a sample source file both compiles and links. Fixes: #21979
* Merge branch 'backport-FindIntl-builtin' into FindIntl-builtinBrad King2021-03-261-3/+0
|\
| * FindIntl: Improve documentation formattingSibi Siddharthan2021-03-261-17/+38
| | | | | | | | Backport from commit a9b11a06f5 (FindIntl: Add version support, 2021-02-23).
* | FindIntl: Add version supportSibi Siddharthan2021-02-251-21/+96
|/ | | | | | | | | | | | Additional Changes: Rework the documentation of FindIntl NOTES: Reorder the REQUIRED_VARS arguments so find_package reports the library instead of the include directory. Handle Intl_LIBRARY in the same way how FindIconv handles it in case of glibc. If the VERSION_VAR argument is an empty string nothing happens. Fixes: #21857
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-1/+7
| | | | Issue: #19715
* FindIntl: Add imported targetSibi Siddharthan2020-10-131-8/+36
| | | | | Fixes: #21271 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* Merge topic 'doc-versionadded'Brad King2020-07-071-0/+2
|\ | | | | | | | | | | | | | | | | | | 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document 0c87afceab Help/dev: Add maintainer guide step for 'versionadded' documentation markup dbd453c2ff Utilities/Sphinx: Add script for inserting ".. versionadded" directive Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Merge-request: !4947
| * Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | | | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* | FindIntl use NAMES_PER_DIRSibi Siddharthan2020-07-011-1/+1
|/ | | | Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-27/+28
|
* Simplify CMake per-source license noticesBrad King2016-09-271-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* FindIntl: New module to find Gettext libintlRoger Leigh2014-11-111-0/+69
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.