2020-11-21 04:23:19 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2024-06-19 03:34:27 +08:00
|
|
|
@@ -1273,10 +1273,14 @@ 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 ""
|
2024-06-19 03:34:27 +08:00
|
|
|
- IMPORT_PREFIX ""
|
2021-10-27 13:49:56 +08:00
|
|
|
+ OUTPUT_NAME lzma
|
|
|
|
)
|
2024-06-19 03:34:27 +08:00
|
|
|
|
2022-03-01 02:25:31 +08:00
|
|
|
+if(WIN32 AND NOT MINGW)
|
|
|
|
+ set_target_properties(liblzma PROPERTIES RUNTIME_OUTPUT_NAME liblzma)
|
|
|
|
+endif()
|
2024-06-19 03:34:27 +08:00
|
|
|
+
|
|
|
|
+
|
2023-06-14 14:03:20 +08:00
|
|
|
# Create liblzma-config-version.cmake.
|
|
|
|
#
|
2024-06-19 03:34:27 +08:00
|
|
|
# FIXME: SameMajorVersion is correct for stable releases but it is wrong
|