vcpkg/ports/vulkan-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

16 lines
569 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Headers
REF "vulkan-sdk-${VERSION}"
SHA512 e4ceb5d5d4e66bb683fb1c4ce97edeb559f833d391b75e1b095ee0eabb96e4bebb964d37f57719ac14f95657d4e39282b8450add5f4ee325f45c3a257d99ea39
HEAD_REF main
)
set(VCPKG_BUILD_TYPE release) # header-only port
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")