2019-03-07 13:17:52 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/SPIRV-Headers
|
2020-03-20 15:32:07 +08:00
|
|
|
REF 1.5.1.corrected
|
|
|
|
SHA512 92447b1b1eca6f0253265f36d67b00c0c79e93f6a707e27bd8239bd2f693c468a92b7f7c3bb3fde6bb091383baaff42d3b0bbfeb9ff5f952d8a0b9626b03848e
|
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)
|