diff options
author | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:10:36 (GMT) |
---|---|---|
committer | Sibi Siddharthan <sibisiddharthan.github@gmail.com> | 2020-07-01 19:10:36 (GMT) |
commit | 64d37b495343669a0b937715602697a66e446ba8 (patch) | |
tree | 9502367609b960333567daa33c9d06dccf063a9f /Modules/FindLibLZMA.cmake | |
parent | 9d2c119ff5558c5c9d10b9d27b02c81e28c070f8 (diff) | |
download | CMake-64d37b495343669a0b937715602697a66e446ba8.zip CMake-64d37b495343669a0b937715602697a66e446ba8.tar.gz CMake-64d37b495343669a0b937715602697a66e446ba8.tar.bz2 |
FindLibLZMA use NAMES_PER_DIR
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Modules/FindLibLZMA.cmake')
-rw-r--r-- | Modules/FindLibLZMA.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindLibLZMA.cmake b/Modules/FindLibLZMA.cmake index 200d6bf..4a79a10 100644 --- a/Modules/FindLibLZMA.cmake +++ b/Modules/FindLibLZMA.cmake @@ -43,8 +43,8 @@ This module will set the following variables in your project: find_path(LIBLZMA_INCLUDE_DIR lzma.h ) if(NOT LIBLZMA_LIBRARY) - find_library(LIBLZMA_LIBRARY_RELEASE NAMES lzma liblzma PATH_SUFFIXES lib) - find_library(LIBLZMA_LIBRARY_DEBUG NAMES lzmad liblzmad PATH_SUFFIXES lib) + find_library(LIBLZMA_LIBRARY_RELEASE NAMES lzma liblzma NAMES_PER_DIR PATH_SUFFIXES lib) + find_library(LIBLZMA_LIBRARY_DEBUG NAMES lzmad liblzmad NAMES_PER_DIR PATH_SUFFIXES lib) include(${CMAKE_CURRENT_LIST_DIR}/SelectLibraryConfigurations.cmake) select_library_configurations(LIBLZMA) else() |