vcpkg/ports/vulkan-hpp/portfile.cmake
Christoph Neuhauser 64f20adbd6
[vulkan-headers, vulkan-hpp ,vulkan-memory-allocator] Update to the latestion version (#18976)
* Updated vulkan-headers, vulkan-hpp and vulkan-memory-allocator to new versions.

* Updated the port ashes to fix compilation errors with the new Vulkan headers. Added vk_video/ to the list of copied header files in the port vulkan-headers.

* Apply suggestions from code review regarding version strings

Update version strings in ports/ashes/vcpkg.json and ports/vulkan-headers/vcpkg.json.

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Updated versioning information of modified ports.

* Update version strings after changes in vcpkg.json files.

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
2021-07-22 14:25:45 -07:00

15 lines
502 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Hpp
REF v1.2.184
SHA512 564bb5fd3b89fc8078e3c4d99c719f4d62166d78891bc529d6d07add1843137ec8f62a92dbdcfa9ffa8a9677fba41da1b591a033c61b27c43c70c25be32c3205
HEAD_REF master
)
file(COPY ${SOURCE_PATH}/vulkan/vulkan.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/vulkan)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)