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/concurrencpp/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/concurrencpp/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/concurrencpp/portfile.cmake | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/concurrencpp/portfile.cmake b/vcpkg/ports/concurrencpp/portfile.cmake new file mode 100644 index 0000000..c316d2f --- /dev/null +++ b/vcpkg/ports/concurrencpp/portfile.cmake @@ -0,0 +1,23 @@ +vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO David-Haim/concurrencpp
+ REF "v.${VERSION}"
+ SHA512 b87a6bd0593d6a7d35f911a0a9835e1afe416aa25d06e4d448789617c94ec2faeb5df07d68d5ccc7e986009f09016f90ef57016b1aabe567996d3ad9816add4c
+ HEAD_REF master
+ PATCHES
+ fix-include-path.patch
+ add-include-string.patch
+ add-include-chrono.patch # https://github.com/David-Haim/concurrencpp/pull/170
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+)
+
+vcpkg_cmake_install()
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+
+vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/concurrencpp-${VERSION}")
+
+vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|