2021-12-14 04:49:27 +08:00
vcpkg_check_linkage ( ONLY_STATIC_LIBRARY )
vcpkg_from_github (
O U T _ S O U R C E _ P A T H S O U R C E _ P A T H
R E P O c h a r l e s - l u n a r g / v k - b o o t s t r a p
R E F 1 4 2 9 8 6 c d b 7 6 7 0 3 7 1 1 8 b 6 8 7 3 8 7 b 0 9 7 f f 6 b 3 e 7 f e 7 d
S H A 5 1 2 1 d c 3 2 f 0 9 f 4 5 4 8 f f a f 7 1 d 3 9 d 5 2 0 0 d 6 0 a 9 b d 5 8 9 7 1 3 2 7 0 3 9 f 2 a d b 4 3 2 7 f d b 8 8 5 f 9 8 4 b b d 9 1 4 0 9 d 2 8 d b f c 2 4 e 5 f d a c 8 c 2 4 1 8 2 4 e 1 4 1 a 2 5 5 8 c d d c 1 b 8 6 b 8 4 c f 2 3 7 6 e 7 d 7 5 6 7
H E A D _ R E F m a s t e r
)
vcpkg_cmake_configure (
S O U R C E _ P A T H " $ { S O U R C E _ P A T H } "
2023-01-12 15:11:05 +08:00
O P T I O N S
# This option will disable build tests and example, and next release this option need to change as -DVK_BOOTSTRAP_TEST=OFF. The related upstream commit: https://github.com/charles-lunarg/vk-bootstrap/commit/4ae9513ff9182b9c519504a73435ed575a821300.
- D C M A K E _ P R O J E C T _ N A M E =
2021-12-14 04:49:27 +08:00
)
vcpkg_cmake_install ( )
vcpkg_copy_pdbs ( )
file ( REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" )
2023-01-12 15:11:05 +08:00
file ( COPY "${CMAKE_CURRENT_LIST_DIR}/${PORT}-config.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-release.cmake" "${CMAKE_CURRENT_LIST_DIR}/${PORT}-targets-debug.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" )
2021-12-14 04:49:27 +08:00
2023-01-12 15:11:05 +08:00
vcpkg_install_copyright ( FILE_LIST "${SOURCE_PATH}/LICENSE.txt" )