vcpkg/ports/liblzma/win_output_name.patch
Kai Pastor 48dcbd29b3
[liblzma] Generally fix output name (#20751)
* Really fix output names

* Fix parameter warning

* Update versions
2021-10-26 22:49:56 -07:00

14 lines
402 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e80b524..1ecf908 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -429,7 +429,7 @@ 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
)
# Create liblzmaConfigVersion.cmake.