vcpkg/ports/concurrencpp/portfile.cmake
chausner f6db2412a0
[concurrencpp] Update to 0.1.5 (#26963)
* Update concurrencpp to 0.1.5

* Update CI baseline

* Update ci.baseline.txt

Co-authored-by: chausner <chausner@users.noreply.github.com>
2022-10-05 15:16:55 -07:00

24 lines
679 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO David-Haim/concurrencpp
REF v.0.1.5
SHA512 94f2c4896e3455284874ea1dc7b4a836a5dd634b15b8582e90eaa7b4200e992f7744f025fac2cdb15471da104b40da97072b05bbe6eebecd0146622b747120ca
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.5)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)