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/reproc/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/reproc/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/reproc/portfile.cmake | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/vcpkg/ports/reproc/portfile.cmake b/vcpkg/ports/reproc/portfile.cmake new file mode 100644 index 0000000..ff6d6fd --- /dev/null +++ b/vcpkg/ports/reproc/portfile.cmake @@ -0,0 +1,27 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO DaanDeMeyer/reproc + REF "v${VERSION}" + SHA512 d6c8abfc4fbef894310f4ad6250ddf269279bce13954ba6bc0147e0bf7e08f5a5e924ba079205881d6bf1dfe865e5f4389517d6d3bbafdede24ed328c549a991 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + -DREPROC++=ON + -DREPROC_INSTALL_PKGCONFIG=OFF + -DREPROC_INSTALL_CMAKECONFIGDIR=share +) + +vcpkg_cmake_install() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +foreach(TARGET reproc reproc++) + vcpkg_cmake_config_fixup( + PACKAGE_NAME ${TARGET} + ) +endforeach() + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |