2020-11-20 21:23:19 +01:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-06-13 23:03:20 -07:00
|
|
|
index 0c6d4b7..62a824a 100644
|
2020-11-20 21:23:19 +01:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-06-13 23:03:20 -07:00
|
|
|
@@ -868,8 +868,11 @@ set_target_properties(liblzma PROPERTIES
|
2020-11-20 21:23:19 +01:00
|
|
|
|
2021-10-27 07:49:56 +02: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-02-28 19:25:31 +01:00
|
|
|
+if(WIN32 AND NOT MINGW)
|
|
|
|
+ set_target_properties(liblzma PROPERTIES RUNTIME_OUTPUT_NAME liblzma)
|
|
|
|
+endif()
|
2020-11-20 21:23:19 +01:00
|
|
|
|
2023-06-13 23:03:20 -07:00
|
|
|
# Create liblzma-config-version.cmake.
|
|
|
|
#
|