aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/matajoh-libnpy/fix-npy-config.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/matajoh-libnpy/fix-npy-config.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/matajoh-libnpy/fix-npy-config.patch')
-rw-r--r--vcpkg/ports/matajoh-libnpy/fix-npy-config.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/matajoh-libnpy/fix-npy-config.patch b/vcpkg/ports/matajoh-libnpy/fix-npy-config.patch
new file mode 100644
index 0000000..dfebed7
--- /dev/null
+++ b/vcpkg/ports/matajoh-libnpy/fix-npy-config.patch
@@ -0,0 +1,17 @@
+diff --git a/cmake/npyConfig.cmake.in b/cmake/npyConfig.cmake.in
+index 06be483..899ff30 100644
+--- a/cmake/npyConfig.cmake.in
++++ b/cmake/npyConfig.cmake.in
+@@ -1,7 +1,10 @@
++include(CMakeFindDependencyMacro)
++find_dependency(miniz CONFIG)
++
+ get_filename_component(NPY_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
+
+ if(NOT TARGET npy::npy)
+ include("${NPY_CMAKE_DIR}/npyTargets.cmake")
+ endif()
+
+-set(LIBNPY_lIBRARIES npy::npy)
++set(LIBNPY_lIBRARIES npy::npy)
+\ No newline at end of file