vcpkg/ports/concurrencpp/portfile.cmake
chausner 6739ac6ca7
[concurrencpp] Update to 0.1.4 (#23880)
* Update concurrencpp to 0.1.4

* Update CI baseline

* Update ports/concurrencpp/vcpkg.json

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

* Add license

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2022-04-01 14:39:28 -07:00

22 lines
634 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO David-Haim/concurrencpp
REF v.0.1.4
SHA512 494680b8a642d9c2ad1e31a6b52ecac672af7b8ba2213fc6b0d525968bd27122c9b3c7105286af22fd6ebfa3cee4bb3b2c8948062418ad8419a305f7c3df0d4b
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.4)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/concurrencpp RENAME copyright)