summaryrefslogtreecommitdiff
path: root/Modules/FindICU.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindICU: Fix component reporting logicAlexander Grund2022-06-301-7/+5
| | | | | Components were incorrectly reported as found because `component_found` is set to a string containing the variable name which is a truethy value. Fix by simply merging the setter of `component_found` with the reporting setter instead of checking `component_found OR component_found_compat` which is overly verbose anyway.
* FindICU: Show location of found librariesDon Olmstead2022-04-211-2/+2
| | | | Announce locations of the libraries without the use of `ICU_DEBUG`.
* FindICU: Really mark variables as advancedMathieu Malaterre2021-09-061-2/+2
|
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-0/+3
| | | | Issue: #19715
* Merge topic 'FindICU-naming'Brad King2020-11-061-8/+15
|\ | | | | | | | | | | | | 21cb588629 FindICU: Correct variable names to match documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5451
| * FindICU: Correct variable names to match documentationRoger Leigh2020-10-311-8/+15
| | | | | | | | | | | | | | | | * Add "ICU_" suffix to all _FOUND variables * Ensure cache variables can also be used with correct ICU_ suffix and compatibility name * Improve ICU_DEBUG messages to verify compatibility and corrected variable names are set to the correct values
* | FindICU: Improve case consistency in documentationRoger Leigh2020-10-311-7/+5
|/
* 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
* FindICU: Pass explicit NAMES argument to find command callsBrad King2019-05-241-4/+8
| | | | | | This improves readability and avoids an undocumented signature variant. Fixes: #19302
* FindICU: Find 64-bit Windows builds under CMP0074 NEW behaviorJohannes Reiff2019-01-241-3/+9
| | | | | | | CMP0074 causes FindICU.cmake to always prefer the 32-bit version of ICU programs/libraries on Windows. NO_PACKAGE_ROOT_PATH reverts this behavior. Fixes: #18742
* FindICU: Add libdl to the link libraries for icu-ucCameron Cawley2018-11-081-0/+4
|
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-83/+84
|
* FindICU: Add support for static libraries on WindowsFrancois Budin2017-10-251-0/+19
| | | | | | | | When compiling ICU statically on Windows with Visual Studio, the library file names are prefixed with 's' [1]. [1] http://source.icu-project.org/repos/icu/trunk/icu4c/source/icudefs.mk.in `STATIC_PREFIX_WHEN_USED = s`
* FindICU: Search in 'sbin' directories for icu toolsFrancois Budin2017-10-251-1/+1
| | | | | | | On Ubuntu, several binaries that FindICU.cmake searches for are installed in 'sbin' instead of 'bin' [1]. [1] https://packages.ubuntu.com/xenial/amd64/icu-devtools/filelist
* FindICU: Search for packaged data filesRoger Leigh2017-06-171-24/+68
| | | | | | | | | | | The files Makefile.inc and pkgdata.inc are installed by ICU to <libdir>/icu and on some distributions to <libdir>/<arch>/icu. These are required by ICU tools like pkgdata, and so are needed by other package build systems at build time, in addition to the libraries and executables already searched for. Search for the files and create cache entries for them, as done for executables.
* FindICU: Add 'include' to the path suffixesFlorent Castelli2017-01-161-0/+1
| | | | Without this FindICU doesn't recognise the installation within homebrew.
* 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.
* FindICU: New moduleRoger Leigh2016-07-131-0/+359