2020-10-21 03:25:20 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/Vulkan-Headers
|
2023-12-15 15:33:39 +08:00
|
|
|
REF "vulkan-sdk-${VERSION}"
|
2024-01-25 03:26:41 +08:00
|
|
|
SHA512 e4ceb5d5d4e66bb683fb1c4ce97edeb559f833d391b75e1b095ee0eabb96e4bebb964d37f57719ac14f95657d4e39282b8450add5f4ee325f45c3a257d99ea39
|
2023-08-04 21:53:44 +08:00
|
|
|
HEAD_REF main
|
2020-10-21 03:25:20 +08:00
|
|
|
)
|
|
|
|
|
2023-01-21 14:14:47 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
|
|
|
2023-06-02 02:06:52 +08:00
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
2022-11-12 01:10:45 +08:00
|
|
|
vcpkg_cmake_install()
|
2023-12-15 15:33:39 +08:00
|
|
|
|
2023-08-04 21:53:44 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
2023-06-02 02:06:52 +08:00
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|