2019-09-17 07:40:00 +08:00
|
|
|
diff --git a/CMake/FindLZMA.cmake b/CMake/FindLZMA.cmake
|
|
|
|
index 213ab18df1..1e290da4cb 100644
|
|
|
|
--- a/CMake/FindLZMA.cmake
|
|
|
|
+++ b/CMake/FindLZMA.cmake
|
|
|
|
@@ -1,7 +1,10 @@
|
|
|
|
|
|
|
|
-find_library(LZMA_LIBRARIES NAMES lzma)
|
|
|
|
+find_library(LZMA_LIBRARY_RELEASE NAMES lzma PATH_SUFFIXES lib)
|
2019-09-30 23:49:36 +08:00
|
|
|
+find_library(LZMA_LIBRARY_DEBUG NAMES lzmad PATH_SUFFIXES debug/lib)
|
2019-09-17 07:40:00 +08:00
|
|
|
find_path(LZMA_INCLUDE_DIRS NAMES lzma.h)
|
|
|
|
|
|
|
|
+select_library_configurations(LZMA)
|
|
|
|
+
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(LZMA
|
|
|
|
DEFAULT_MSG
|