diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch | |
Diffstat (limited to 'vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch')
| -rw-r--r-- | vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch b/vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch new file mode 100644 index 0000000..434d3c6 --- /dev/null +++ b/vcpkg/ports/arun11299-cpp-subprocess/fix-cmake-config-name.patch @@ -0,0 +1,30 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c21809e..a5b1034 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -28,14 +28,14 @@ if(SUBPROCESS_INSTALL) + include(CMakePackageConfigHelpers) + + configure_package_config_file( +- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/subprocess-config.cmake.in" ++ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/subprocess-config.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/subprocess-config.cmake" + INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/subprocess" + PATH_VARS PROJECT_NAME PROJECT_VERSION + ) + + write_basic_package_version_file( +- "${CMAKE_CURRENT_BINARY_DIR}/beman.exemplar-version.cmake" ++ "${CMAKE_CURRENT_BINARY_DIR}/subprocess-version.cmake" + VERSION ${PROJECT_VERSION} + COMPATIBILITY ExactVersion + ) +@@ -50,7 +50,7 @@ if(SUBPROCESS_INSTALL) + + install( + EXPORT subprocess +- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/beman.exemplar" ++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/subprocess" + NAMESPACE cpp-subprocess:: + FILE subprocess-targets.cmake + COMPONENT subprocess |