summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2018-12-21 09:21:36 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2018-12-21 09:21:36 (GMT)
commit2aae1c1dd26852a5186570ea25924c6103c28d79 (patch)
tree362fb2c2da7449349b1cfba8f0510a984065358f
parent0194780abcd2c4853af2c053cabeef3dbb996304 (diff)
parentfeafc7f3fed89d1a77ea7e3602b8e6eb57fec9d9 (diff)
downloadCMake-2aae1c1dd26852a5186570ea25924c6103c28d79.zip
CMake-2aae1c1dd26852a5186570ea25924c6103c28d79.tar.gz
CMake-2aae1c1dd26852a5186570ea25924c6103c28d79.tar.bz2
Merge branch 'doc-updates' into 'master'
Help: FindLibLZMA: update formatting. See merge request cmake/cmake!2755
-rw-r--r--Modules/FindLibLZMA.cmake40
1 files changed, 23 insertions, 17 deletions
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake
index b7e5815..6225744 100644
--- a/Modules/FindLibLZMA.cmake
+++ b/Modules/FindLibLZMA.cmake
@@ -5,34 +5,40 @@
FindLibLZMA
-----------
-Find LibLZMA
+Find LZMA compression algorithm headers and library.
-Find LibLZMA headers and library
-
-IMPORTED Targets
+Imported Targets
^^^^^^^^^^^^^^^^
This module defines :prop_tgt:`IMPORTED` target ``LibLZMA::LibLZMA``, if
-LibLZMA has been found.
+liblzma has been found.
Result variables
^^^^^^^^^^^^^^^^
This module will set the following variables in your project:
-::
-
- LIBLZMA_FOUND - True if liblzma is found.
- LIBLZMA_INCLUDE_DIRS - Directory where liblzma headers are located.
- LIBLZMA_LIBRARIES - Lzma libraries to link against.
- LIBLZMA_HAS_AUTO_DECODER - True if lzma_auto_decoder() is found (required).
- LIBLZMA_HAS_EASY_ENCODER - True if lzma_easy_encoder() is found (required).
- LIBLZMA_HAS_LZMA_PRESET - True if lzma_lzma_preset() is found (required).
- LIBLZMA_VERSION_MAJOR - The major version of lzma
- LIBLZMA_VERSION_MINOR - The minor version of lzma
- LIBLZMA_VERSION_PATCH - The patch version of lzma
- LIBLZMA_VERSION_STRING - version number as a string (ex: "5.0.3")
+``LIBLZMA_FOUND``
+ True if liblzma headers and library were found.
+``LIBLZMA_INCLUDE_DIRS``
+ Directory where liblzma headers are located.
+``LIBLZMA_LIBRARIES``
+ Lzma libraries to link against.
+``LIBLZMA_HAS_AUTO_DECODER``
+ True if lzma_auto_decoder() is found (required).
+``LIBLZMA_HAS_EASY_ENCODER``
+ True if lzma_easy_encoder() is found (required).
+``LIBLZMA_HAS_LZMA_PRESET``
+ True if lzma_lzma_preset() is found (required).
+``LIBLZMA_VERSION_MAJOR``
+ The major version of lzma
+``LIBLZMA_VERSION_MINOR``
+ The minor version of lzma
+``LIBLZMA_VERSION_PATCH``
+ The patch version of lzma
+``LIBLZMA_VERSION_STRING``
+ version number as a string (ex: "5.0.3")
#]=======================================================================]
find_path(LIBLZMA_INCLUDE_DIR lzma.h )