diff options
author | Christian Pfeiffer <cpfeiffer@live.de> | 2017-12-18 22:05:17 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-12-18 22:05:22 (GMT) |
commit | 0816f7496b31829533419fa42932d00d9b0851ff (patch) | |
tree | 2563bc441783397a2cc9b5afc5cac2cbce16b3b9 | |
parent | 438ed3bfc180fbee98fa07af1eb427c6da209b68 (diff) | |
parent | de706fe0d47b8d6fd9ed269d6caedbbfb9b71258 (diff) | |
download | CMake-0816f7496b31829533419fa42932d00d9b0851ff.zip CMake-0816f7496b31829533419fa42932d00d9b0851ff.tar.gz CMake-0816f7496b31829533419fa42932d00d9b0851ff.tar.bz2 |
Merge topic 'findliblzma-win-name'
de706fe0 FindLibLZMA: Add library name for Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1605
-rw-r--r-- | Modules/FindLibLZMA.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake index 8009bcf..d203eaf 100644 --- a/Modules/FindLibLZMA.cmake +++ b/Modules/FindLibLZMA.cmake @@ -23,7 +23,7 @@ # LIBLZMA_VERSION_STRING - version number as a string (ex: "5.0.3") find_path(LIBLZMA_INCLUDE_DIR lzma.h ) -find_library(LIBLZMA_LIBRARY lzma) +find_library(LIBLZMA_LIBRARY NAMES lzma liblzma) if(LIBLZMA_INCLUDE_DIR AND EXISTS "${LIBLZMA_INCLUDE_DIR}/lzma/version.h") file(STRINGS "${LIBLZMA_INCLUDE_DIR}/lzma/version.h" LIBLZMA_HEADER_CONTENTS REGEX "#define LZMA_VERSION_[A-Z]+ [0-9]+") |