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/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/arun11299-cpp-subprocess/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/arun11299-cpp-subprocess/portfile.cmake | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/arun11299-cpp-subprocess/portfile.cmake b/vcpkg/ports/arun11299-cpp-subprocess/portfile.cmake new file mode 100644 index 0000000..e753f63 --- /dev/null +++ b/vcpkg/ports/arun11299-cpp-subprocess/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO arun11299/cpp-subprocess + REF "v${VERSION}" + SHA512 9901e97003276255fa4b7d97c9d1cc17f9c3a5b29a108ad3c4ed10c9794fb379a568ba587858a556630df2387cffd288e83fafeceae327aa7928635ba3121a49 + HEAD_REF master + PATCHES + fix-cmake-config-name.patch + find-threads.patch +) + +set(VCPKG_BUILD_TYPE release) # header-only port + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DSUBPROCESS_TESTS=OFF + -DSUBPROCESS_INSTALL=ON +) + +vcpkg_cmake_install() + +vcpkg_cmake_config_fixup(PACKAGE_NAME subprocess CONFIG_PATH lib/cmake/subprocess) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.MIT") |