2020-11-21 04:23:19 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-06-14 14:03:20 +08:00
|
|
|
index 0c6d4b7..62a824a 100644
|
2020-11-21 04:23:19 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-06-14 14:03:20 +08:00
|
|
|
@@ -868,8 +868,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
|
|
|
|
2023-06-14 14:03:20 +08:00
|
|
|
# Create liblzma-config-version.cmake.
|
|
|
|
#
|