vcpkg/ports/spirv-headers/portfile.cmake
Charlie Barto 9c5b3024bb
[spirv-cross,spirv-headers,spirv-tools] 2021-01-15 update (#15831)
* update spiv-{cross,tools,headers}

* update spriv-{cross,headers,tools} versions

* update versions

* fixup the C targets

* bump headers and remove shared lib from spirv-tools

* update versions.

* added fixup pkg-config

* update git version hash.

* format manifests

* git-trees

* Update ports/spirv-headers/vcpkg.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>

* Update ports/spirv-tools/portfile.cmake

* Update ports/spirv-cross/vcpkg.json

* update verson record

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
2021-04-19 17:09:40 -07:00

15 lines
585 B
CMake

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