2023-07-07 02:35:29 +08:00
|
|
|
if(VCPKG_TARGET_IS_WINDOWS)
|
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
endif()
|
2021-12-14 04:49:27 +08:00
|
|
|
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO charles-lunarg/vk-bootstrap
|
2023-05-10 07:44:20 +08:00
|
|
|
REF "v${VERSION}"
|
2024-03-12 04:16:11 +08:00
|
|
|
SHA512 f925665b1d7a1c5069ca2cb6786f537bcc4b3060757db50d931091dc37ff4ef3b73b1b3adf0da84c256979fd780a2f6203de3299f634292600dcee925b9a5091
|
2021-12-14 04:49:27 +08:00
|
|
|
HEAD_REF master
|
2024-03-27 02:51:12 +08:00
|
|
|
PATCHES
|
|
|
|
fix-targets.patch
|
2021-12-14 04:49:27 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2023-01-12 15:11:05 +08:00
|
|
|
OPTIONS
|
2023-12-14 15:28:56 +08:00
|
|
|
-DVK_BOOTSTRAP_TEST=OFF
|
|
|
|
-DVK_BOOTSTRAP_INSTALL=ON
|
2021-12-14 04:49:27 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
|
2023-12-14 15:28:56 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
|
2021-12-14 04:49:27 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
2023-01-12 15:11:05 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|