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}"
|
2023-12-14 15:28:56 +08:00
|
|
|
SHA512 c60567a5330908380efea8ac95036e63321fe1e2e72314068a5117c9c0f64cd8b80bd5e98eed9177f1f84dc4ee10a2a2dd902d111fc1a30f503287a7e4b22640
|
2021-12-14 04:49:27 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
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")
|