vcpkg/ports/spirv-headers/portfile.cmake
Mathis Logemann 611dfc1864
[spirv-tools,spirv-reflect,spirv-headers] update ports (#23822)
* update volk

* spriv

* Revert "update volk"

This reverts commit a478ebc867.

* format

* versions

* versions

* update

* versions

* refix includes?

* version

* fix header include on linux,macos

* version

* fix cmake fixup

* fix

* version

* build shared

* version

* fix opt name

* version

* fix name...

* version

* change version to match sdk distribution version

* spirv-header version

* spirv reflect version
2022-04-07 07:52:15 -07:00

15 lines
558 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/SPIRV-Headers
REF sdk-1.3.204.1
SHA512 ef994e0a5232cb21377ed39ef6a941b59eb45524f1d78092a6476245e4e0fb692780e98f5cc2176fdc2fd95430cce523fa376b0eed97042523b5f14a0586955f
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)