mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
0707a17ecf
* Restore upstream's DLL name * Don't add debug postfix * Decouple wrapper from config * Don't inject Find module stuff into config * Cleanup * [skip actions] Trim lzmad and LibLZMA patching * [skip actions] Fix CMAKE_DISABLE_FIND_PACKAGE_LibLZMA * [skip actions] CI * Update manifests * Update versions * Backfill LibLZMA::LibLZMA to CMake < 3.14 * Update versions * Update versions
18 lines
515 B
Diff
18 lines
515 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e80b524..cddbccb 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -429,8 +429,11 @@ 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 ""
|
|
+ OUTPUT_NAME lzma
|
|
)
|
|
+if(WIN32 AND NOT MINGW)
|
|
+ set_target_properties(liblzma PROPERTIES RUNTIME_OUTPUT_NAME liblzma)
|
|
+endif()
|
|
|
|
# Create liblzmaConfigVersion.cmake.
|
|
#
|