vcpkg/ports/libzip/fix-dependency.patch
Lily Wang 4fd5934584
[libzip] Update to 1.10.1 (#35167)
* [libzip] Update to 1.10.1

* update version

* update patch

* update version
2023-11-29 01:19:13 -08:00

14 lines
438 B
Diff

diff --git a/libzip-config.cmake.in b/libzip-config.cmake.in
index 8061530..81a38bb 100644
--- a/libzip-config.cmake.in
+++ b/libzip-config.cmake.in
@@ -2,7 +2,7 @@
# We need to supply transitive dependencies if this config is for a static library
set(IS_SHARED @BUILD_SHARED_LIBS@)
-if (NOT IS_SHARED)
+if (1)
include(CMakeFindDependencyMacro)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_LIST_DIR}/modules")