vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO KhronosGroup/Vulkan-Tools REF "vulkan-sdk-${VERSION}" SHA512 e5f6daa12ba2e8098f939cc06e732efd89f616fd9babf00d2fb8b9a73671143961a4c5b84879a4f9c4a7312bb393874f065222602e3619db5ad7fb9f8b868422 HEAD_REF main PATCHES fix-parallel-config.patch ) if(NOT VCPKG_TARGET_IS_ANDROID) set(VCPKG_BUILD_TYPE release) # only builds tools endif() vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DBUILD_TESTS:BOOL=OFF ) vcpkg_cmake_install() vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt") set(tools vulkaninfo) if(NOT VCPKG_TARGET_IS_ANDROID) list(APPEND tools vkcube vkcubepp) endif() vcpkg_copy_tools(TOOL_NAMES ${tools} AUTO_CLEAN) set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) if(NOT VCPKG_TARGET_IS_ANDROID) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") endif()