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/stlab-copy-on-write/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/stlab-copy-on-write/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/stlab-copy-on-write/portfile.cmake | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/vcpkg/ports/stlab-copy-on-write/portfile.cmake b/vcpkg/ports/stlab-copy-on-write/portfile.cmake new file mode 100644 index 0000000..24d576a --- /dev/null +++ b/vcpkg/ports/stlab-copy-on-write/portfile.cmake @@ -0,0 +1,25 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO stlab/copy-on-write + REF "v${VERSION}" + SHA512 14fd31c27a45111050b5b4e7164ef1467cecc0c1b258172d954700a0e0b6ce69cb28b700d5ca145c37974e4fdffe1563e13ea627b6cce11599381d7aa6cd0f54 + HEAD_REF main + PATCHES + disable-tests.patch +) + +set(VCPKG_BUILD_TYPE release) # header-only port + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + OPTIONS + ${FEATURE_OPTIONS} + -Dstlab-copy-on-write_IS_TOP_LEVEL=OFF +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/stlab-copy-on-write) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |