mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 13:38:08 +08:00
20 lines
545 B
Diff
20 lines
545 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1273,10 +1273,14 @@ set_target_properties(liblzma PROPERTIES
|
|
|
|
# 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 ""
|
|
- IMPORT_PREFIX ""
|
|
+ OUTPUT_NAME lzma
|
|
)
|
|
|
|
+if(WIN32 AND NOT MINGW)
|
|
+ set_target_properties(liblzma PROPERTIES RUNTIME_OUTPUT_NAME liblzma)
|
|
+endif()
|
|
+
|
|
+
|
|
# Create liblzma-config-version.cmake.
|
|
#
|
|
# FIXME: SameMajorVersion is correct for stable releases but it is wrong
|