mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 01:27:55 +08:00
aad1aa28bf
* Bump GSL to 4.0.0 * Update version database * Fix typo * Add missing file * Update version database * GSL portfile properly expose Microsoft.GSL package * Update version database * Respond to review * Update version database * Update version database v2 * Update release ref * Update version database * Respond to review * Update version database * Add patch to SEAL to link to correct GSL version * Update version database * Update version database v2
27 lines
722 B
CMake
27 lines
722 B
CMake
#header-only library with an install target
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Microsoft/GSL
|
|
REF a3534567187d2edc428efd3f13466ff75fe5805c
|
|
SHA512 5bd6aad37fee3b56a2ee2fed10d6ef02fdcf37a1f40b3fb1bbec8146a573e235169b315405d010ab75175674ed82658c8202f40b128a849c5250b4a1b8b0a1b3
|
|
HEAD_REF main
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
OPTIONS
|
|
-DGSL_TEST=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
PACKAGE_NAME Microsoft.GSL
|
|
CONFIG_PATH share/cmake/Microsoft.GSL
|
|
)
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|