vcpkg/ports/concurrencpp/portfile.cmake
chausner cda50b3ecc
[David-Haim/concurrencpp] Add new port (#19997)
* [David-Haim/concurrencpp] Add new package

* Format vcpkg.json

* Add baseline

* Fix version

* Update CI baseline

* Revert "Update CI baseline"

This reverts commit 8e3ed430f239e50a94a4afaaaee47e0f15998b06.

* Add patch to make linkage configurable

* Update git-tree hash

* Add patch to set -fcoroutines flag

* Update git-tree hash

* Revert "Update git-tree hash"

This reverts commit b3ccdb2c61f705f7802da880fa0659ece5f1a723.

* Revert "Add patch to set -fcoroutines flag"

This reverts commit a23c736df9d2ca407204ea57bf977932c4704e41.

* Revert "Revert "Update CI baseline""

This reverts commit a50ed32a97fb19311cb13807af70cb5a9aa4b793.

* Add supports attribute to manifest, disallow dynamic linkage on Windows

* Update git-tree hash

* Apply suggestions from code review

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Fix whitespace

* Update git-tree hash

* Add vcpkg-cmake dependencies to vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Adapt for version 0.1.3, address suggestions

* Update git-tree hash

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-09-10 14:18:06 -07:00

22 lines
636 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO David-Haim/concurrencpp
REF v.0.1.3
SHA512 2f4530ba93d768a7a1ae14c532c8ef443745e48cceeca8a0e9da9f91633876ae4971caad70eeff9e18c7a45e8cf7c0b7bb79720a62026850244fb2377ad10df7
HEAD_REF master
PATCHES
fix-include-path.patch
)
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-0.1.3)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/concurrencpp RENAME copyright)