2019-03-07 13:17:52 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/SPIRV-Headers
|
2021-04-20 08:09:40 +08:00
|
|
|
REF bcf55210f13a4fa3c3d0963b509ff1070e434c79
|
|
|
|
SHA512 d0553b95f28b77209862059cd0a8c15ca3340f33e13d9bb75340ced07a5aa07b8b9eaa1bdc42daa0dbf78679c3b1ef3d344c73b17518061249cdc67000568c37
|
2019-03-07 13:17:52 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
# This must be spirv as other spirv packages expect it there.
|
2020-03-20 15:32:07 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/include/spirv/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/spirv")
|
2019-03-07 13:17:52 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2020-03-20 15:32:07 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|