vcpkg/ports/spirv-headers/portfile.cmake
moritz-h 5d03478623
[vulkan*] update to 1.3.275.0 (#36262)
* [vulkan*] update to 1.3.275.0

* fix cmake config path

* update volk to fix vulkan-tools

* fix lunarg-vulkantools

* fix android

* build vulkan layers always dynamic

* fix android

* staticcrt

* fix description

* remove debug layer json files

* fix android

* fix parallel config
2024-01-24 11:26:41 -08:00

21 lines
521 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/SPIRV-Headers
REF "vulkan-sdk-${VERSION}"
SHA512 c9d448a74006a5fdf59993e6d6a9c617bab4c5df23c333b7ada386e4ca25caaae28fc83f71963ce8468646113d83d6e7b17c26c46c3b6485c8df91f142755977
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_fixup_pkgconfig()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")