vcpkg/ports/ms-gsl/portfile.cmake
Farwaykorse fbdce55199 [ms-gsl] Update to v2.1.0, the "end of 2019 snapshot" (#9624)
* [ms-gsl] update to 2019-11-19, v2.1.0 end of 2019 snapshot

* [coroutine] Update for compatibility with ms-gsl
2020-01-27 14:02:37 -08:00

14 lines
512 B
CMake

#header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/GSL
REF 7e99e76c9761d0d0b0848b91f8648830670ee872
SHA512 9a5ea7d22497a56918a83c248d9f707e98544dce90835cf9bf877213df8751cdb350b6343d0205e7b17fc27e234a17906876aff99c177d5f2b96df96d15a215c
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ms-gsl RENAME copyright)