2020-10-21 03:25:20 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/Vulkan-Headers
|
2023-08-04 21:53:44 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 afd3a617fdd83d3e11559b4530e249dea4dbed66a44aba4fe1a39af2220ddcb8c45e49eaa087bbd62454709015b659eccfcdd6c3ad7950a2a7b1b674cf65e957
|
|
|
|
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-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}")
|