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

16 lines
684 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO KhronosGroup/Vulkan-Headers
REF v1.2.184
SHA512 95ee241ca82ba4373dc53aefec36839b6a08478434742bd8de6750d875a7a5fcb2225afae5f6f400a7b302af87da7e226b725be5435236694e816e141a3b24ef
HEAD_REF master
)
# This must be vulkan as other vulkan packages expect it there.
file(COPY "${SOURCE_PATH}/include/vulkan/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/vulkan")
file(COPY "${SOURCE_PATH}/include/vk_video/" DESTINATION "${CURRENT_PACKAGES_DIR}/include/vk_video")
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)