mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 03:39:04 +08:00
8397227251
* [vulkan-sdk] Separate port * Update ci.baseline.txt * [hikogui] Using glslc from shaderc * [vulkan] Drop LICENSE.txt * [vulkan-sdk-components] Avoid vulkan-sdk name * [vulkan] Fixup copyright text
13 lines
439 B
CMake
13 lines
439 B
CMake
cmake_minimum_required(VERSION 3.25)
|
|
|
|
project(FIND_VULKAN LANGUAGES C)
|
|
|
|
find_package(Vulkan ${VCPKG_VULKAN_VERSION} ${VCPKG_VULKAN_COMPONENTS})
|
|
if(NOT Vulkan_FOUND)
|
|
set(CMAKE_FIND_DEBUG_MODE ON)
|
|
find_package(Vulkan ${VCPKG_VULKAN_VERSION} ${VCPKG_VULKAN_COMPONENTS})
|
|
endif()
|
|
|
|
set(OUTFILE "${CMAKE_CURRENT_BINARY_DIR}/vulkan-result.cmake" CACHE FILEPATH "")
|
|
configure_file("vulkan-result.cmake.in" "${OUTFILE}" @ONLY ESCAPE_QUOTES)
|