vcpkg/ports/ms-gsl/portfile.cmake

16 lines
545 B
CMake
Raw Normal View History

#header-only library
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Microsoft/GSL
2018-06-13 01:32:58 +08:00
REF ffdaf0fb211d3a2920e480c7a8315cff98fe1b19
SHA512 77af8ad24d15ecb1ef00bcfbea851e7f1b11a2a27ff9aedef400bd6faaa6b44b8a03f14e93a6d8beaa32b67cae0f7b2f3e63e9638998e360c99c0e287cfbd715
HEAD_REF master
)
2017-12-06 19:53:47 +08:00
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
# Handle copyright
2017-12-06 19:53:47 +08:00
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/ms-gsl RENAME copyright)