2020-11-21 04:23:19 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2022-03-01 02:25:31 +08:00
|
|
|
index e80b524..cddbccb 100644
|
2020-11-21 04:23:19 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2022-03-01 02:25:31 +08:00
|
|
|
@@ -429,8 +429,11 @@ set_target_properties(liblzma PROPERTIES
|
2020-11-21 04:23:19 +08:00
|
|
|
|
2021-10-27 13:49:56 +08:00
|
|
|
# It's liblzma.so or liblzma.dll, not libliblzma.so or lzma.dll.
|
|
|
|
# Avoid the name lzma.dll because it would conflict with LZMA SDK.
|
|
|
|
- PREFIX ""
|
|
|
|
+ OUTPUT_NAME lzma
|
|
|
|
)
|
2022-03-01 02:25:31 +08:00
|
|
|
+if(WIN32 AND NOT MINGW)
|
|
|
|
+ set_target_properties(liblzma PROPERTIES RUNTIME_OUTPUT_NAME liblzma)
|
|
|
|
+endif()
|
2020-11-21 04:23:19 +08:00
|
|
|
|
2021-10-27 13:49:56 +08:00
|
|
|
# Create liblzmaConfigVersion.cmake.
|
2022-03-01 02:25:31 +08:00
|
|
|
#
|