2019-03-07 13:17:52 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO KhronosGroup/SPIRV-Headers
|
2022-11-12 01:19:11 +08:00
|
|
|
REF sdk-1.3.231.1
|
|
|
|
SHA512 d2c47127fd81430383e8656917f76933b713ca6cb93b2a9c16c9e0b125e2f62f8c497cab3a4fcc2a711decd911ec5d15f1eb0270add05442aff6672e08c890d7
|
2019-03-07 13:17:52 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2022-11-12 01:19:11 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2019-03-07 13:17:52 +08:00
|
|
|
|
2022-11-18 15:26:35 +08:00
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2019-03-07 13:17:52 +08:00
|
|
|
# Handle copyright
|
2020-03-20 15:32:07 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|