mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 06:37:55 +08:00
31b95c6b4f
* Adds patch to fix find lzma after changes to use upstream CMakeLists.txt
* Reference Issue: [libzippp] x64-windows build failure after liblzma use upstream CMakeLists.txt + Add pkgconfig. (#14615) #14679 https://github.com/microsoft/vcpkg/issues/14679
* Reference Commit: PR [liblzma] use upstream CMakeLists.txt + Add pkgconfig. (#14615) eb895b95aa
14 lines
613 B
Diff
14 lines
613 B
Diff
diff --git a/cmake/FindLIBZIP.cmake b/cmake/FindLIBZIP.cmake
|
|
index c51c09a..a32bb13 100644
|
|
--- a/cmake/FindLIBZIP.cmake
|
|
+++ b/cmake/FindLIBZIP.cmake
|
|
@@ -50,7 +50,7 @@ if (LIBZIP_FOUND)
|
|
set_property(TARGET libzip::zip APPEND PROPERTY INTERFACE_LINK_LIBRARIES Nettle::Nettle)
|
|
endif()
|
|
if(_have_extra_libs MATCHES "-llzma")
|
|
- find_package(LibLZMA::LibLZMA REQUIRED)
|
|
+ find_package(LibLZMA REQUIRED)
|
|
set_property(TARGET libzip::zip APPEND PROPERTY INTERFACE_LINK_LIBRARIES LibLZMA::LibLZMA)
|
|
endif()
|
|
if(_have_extra_libs MATCHES "-lz")
|