mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 12:09:01 +08:00
11 lines
304 B
CMake
11 lines
304 B
CMake
|
cmake_minimum_required(VERSION 3.25)
|
||
|
|
||
|
project(FIND_VULKAN LANGUAGES C)
|
||
|
|
||
|
set(CMAKE_FIND_DEBUG_MODE ON)
|
||
|
|
||
|
find_package(Vulkan ${VCPKG_VULKAN_VERSION})
|
||
|
|
||
|
set(OUTFILE "${CMAKE_CURRENT_BINARY_DIR}/vulkan-result.cmake" CACHE FILEPATH "")
|
||
|
configure_file("vulkan-result.cmake.in" "${OUTFILE}" @ONLY ESCAPE_QUOTES)
|