summaryrefslogtreecommitdiffstats
path: root/Modules/FindLibLZMA.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindLibLZMA.cmake')
-rw-r--r--Modules/FindLibLZMA.cmake41
1 files changed, 21 insertions, 20 deletions
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake
index d203eaf..6d30e57 100644
--- a/Modules/FindLibLZMA.cmake
+++ b/Modules/FindLibLZMA.cmake
@@ -1,26 +1,27 @@
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
-#.rst:
-# FindLibLZMA
-# -----------
-#
-# Find LibLZMA
-#
-# Find LibLZMA headers and library
-#
-# ::
-#
-# 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")
+#[=======================================================================[.rst:
+FindLibLZMA
+-----------
+
+Find LibLZMA
+
+Find LibLZMA headers and library
+
+::
+
+ 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")
+#]=======================================================================]
find_path(LIBLZMA_INCLUDE_DIR lzma.h )
find_library(LIBLZMA_LIBRARY NAMES lzma liblzma)