2019-05-13 15:14:03 +08:00
|
|
|
# header-only library
|
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/Vulkan-Hpp
|
2023-07-28 00:24:17 +08:00
|
|
|
REF "v${VERSION}"
|
2023-08-01 02:30:45 +08:00
|
|
|
SHA512 3783268de9c137218453431d03d4bb30a222dc7e94d7ca4eeab896884c8cada3e7a095f432e939efe8c6341773e64656dc141c5ce0f5ef0f49e77f7322e232f6
|
2019-05-13 15:14:03 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-01-06 10:42:59 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/vulkan/vulkan.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include/vulkan")
|
2019-05-13 15:14:03 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2022-01-06 10:42:59 +08:00
|
|
|
configure_file("${SOURCE_PATH}/LICENSE.txt" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|