vcpkg/ports/vulkan-headers/portfile.cmake
Alexander Neumann 50bffcc62d
[vulkan] install required sdk parts (#35479)
* Install vulkan.

* add gfxreconstruct

* format manifest and cr changes

* remove moltenvk

* fix ci part 1

* fix a dep

* more fixes

* remove vulkan failures from CI pipeline

* remove annoying stuff to deal with in static builds

* fix trailing ,

* remove vendored cmakelists

* force ci to be green

* format manifest

* Fix more ci issues

* fix hikogui

* make ci happier

* add jsoncpp dep

* only remove the debug folder if targeting windows

* bump port-version

* v db

* vulkan-loader add usage

* Rename vulkantools to lunarg-vulkantools

* Make VMA install headers platform dependent

* Remove vcpkg_check_linkage

* readd vulkan-validationlayers

* v db
2023-12-14 23:33:39 -08:00

16 lines
569 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Headers
REF "vulkan-sdk-${VERSION}"
SHA512 adab4c97050aeb396445cd5352e4252b74d2a02856ffd369caa0df50ba544b8b8ab9e1630f30ce73c56751c987e2435263214547457b8ca9430c5ad2dadaabaf
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}")