aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libsndfile/001-avoid-installing-find-modules.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/libsndfile/001-avoid-installing-find-modules.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch')
-rw-r--r--vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch b/vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch
new file mode 100644
index 0000000..3ae1b21
--- /dev/null
+++ b/vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch
@@ -0,0 +1,16 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b501f08..022864f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -855,11 +847,6 @@ if (ENABLE_PACKAGE_CONFIG)
+ ${CMAKE_CURRENT_BINARY_DIR}/SndFileConfigVersion.cmake
+ DESTINATION ${CMAKE_INSTALL_PACKAGEDIR}
+ )
+-
+- if (NOT BUILD_SHARED_LIBS AND FIND_MODULES_INSTALL_LIST)
+- file(COPY ${FIND_MODULES_INSTALL_LIST} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+- install(FILES ${FIND_MODULES_INSTALL_LIST} DESTINATION ${CMAKE_INSTALL_PACKAGEDIR})
+- endif ()
+ else ()
+
+ install (TARGETS sndfile ${sdnfile_PROGRAMS}