mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 06:07:51 +08:00
0a64f3a1f6
* [spirv-headers] Update to version 1.5.1 * [spirv-tools] Update to version 2020.1 * [spirv-tools] Work around an import config typo * [spirv-tools] Fix nitpicks * [spirv-headers] Modernize port * [spirv-tools] Fix directory name capitalization mismatch
15 lines
560 B
CMake
15 lines
560 B
CMake
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO KhronosGroup/SPIRV-Headers
|
|
REF 1.5.1.corrected
|
|
SHA512 92447b1b1eca6f0253265f36d67b00c0c79e93f6a707e27bd8239bd2f693c468a92b7f7c3bb3fde6bb091383baaff42d3b0bbfeb9ff5f952d8a0b9626b03848e
|
|
HEAD_REF master
|
|
)
|
|
|
|
# This must be spirv as other spirv packages expect it there.
|
|
file(COPY "${SOURCE_PATH}/include/spirv/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/spirv")
|
|
|
|
# Handle copyright
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|