summaryrefslogtreecommitdiff
path: root/Modules/FindLibLZMA.cmake
Commit message (Collapse)AuthorAgeFilesLines
* FindLibLZMA: Fix failure when no include directories are neededEven Rouault2023-01-181-1/+1
| | | | | Quote the value of `INTERFACE_INCLUDE_DIRECTORIES` to ensure `set_target_properties` gets matching property/value pairs.
* Find{BZip2,LibLZMA,ZLIB}: use *_VERSION as modern CMakeMichael Hirsch2022-11-071-1/+17
| | | | The old *_VERSION_STRING is silently left set for backward compat.
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-0/+2
| | | | Issue: #19715
* FindLibLZMA use NAMES_PER_DIRSibi Siddharthan2020-07-021-2/+2
| | | | Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* FindLibLZMA: Find debug/release variants on WindowsBraden McDaniel2019-08-231-6/+39
|
* Modules: Consistently use 2 space indentationKitware Robot2019-05-141-7/+7
|
* Help: FindLibLZMA: update formatting.Marc Chevrier2018-12-201-17/+23
|
* FindLibLZMA: add imported targetHiroshi Miura2018-12-131-4/+22
| | | | | | | | | | - Add imported target LibLZMA::LibLZMA - Show found message with library path - Add test for FindLibLZMA Fixes: #18680, #18679 Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* Help: Convert remaining modules to block-style commentsKitware Robot2018-10-221-20/+21
|
* FindLibLZMA: Add library name for WindowsChristian Pfeiffer2017-12-181-1/+1
| | | | Fixes: #17568
* Simplify CMake per-source license noticesBrad King2016-09-271-17/+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.
* Find*: Make find_package(.. QUIET) affect Check* modules.Clinton Stimpson2014-03-291-0/+3
| | | | | | | | | | Fixes issues #14812 and #14813 where find_package(OpenMP QUIET) and find_package(Qt4 QUIET) would still print out messages when calling check*() functions. Also a partial fix for #14445 where building CMake (without cmake-gui) when Qt5 is installed and Qt4 is not installed and warnings come out of FindQt4.cmake.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-11/+18
| | | | | | | | Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.
* include FPHSA from current directory in all modulesRolf Eike Beer2012-09-091-2/+2
|
* read less from version headers into variablesRolf Eike Beer2012-08-191-1/+2
| | | | | | | | | Instead of reading the whole file using file(READ) and later matching on the whole file use file(STRINGS ... REGEX) to get only those lines we are interested in at all. This will make the list much smaller (good for debugging) and also the regular expressions will need to match on much smaller strings. Also unset the content variables once they are not used anymore.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-3/+3
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-18/+18
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Add FindLibLZMA ModuleMario Bensi2012-05-311-0/+69