summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/build/cmake/FindLZMA.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibarchive/build/cmake/FindLZMA.cmake')
-rw-r--r--Utilities/cmlibarchive/build/cmake/FindLZMA.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/Utilities/cmlibarchive/build/cmake/FindLZMA.cmake b/Utilities/cmlibarchive/build/cmake/FindLZMA.cmake
index 1d065c4..0b46b2c 100644
--- a/Utilities/cmlibarchive/build/cmake/FindLZMA.cmake
+++ b/Utilities/cmlibarchive/build/cmake/FindLZMA.cmake
@@ -14,7 +14,7 @@ IF (LZMA_INCLUDE_DIR)
ENDIF (LZMA_INCLUDE_DIR)
FIND_PATH(LZMA_INCLUDE_DIR lzma.h)
-FIND_LIBRARY(LZMA_LIBRARY NAMES lzma )
+FIND_LIBRARY(LZMA_LIBRARY NAMES lzma liblzma)
# handle the QUIETLY and REQUIRED arguments and set LZMA_FOUND to TRUE if
# all listed variables are TRUE
@@ -46,7 +46,3 @@ ELSE(LZMA_FOUND)
SET( LZMADEC_LIBRARIES )
ENDIF(LZMADEC_FOUND)
ENDIF(LZMA_FOUND)
-
-
-MARK_AS_ADVANCED( LZMA_LIBRARY LZMA_INCLUDE_DIR
- LZMADEC_LIBRARY LZMADEC_INCLUDE_DIR )