diff options
Diffstat (limited to 'vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch')
| -rw-r--r-- | vcpkg/ports/libsndfile/001-avoid-installing-find-modules.patch | 16 |
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}
|