vcpkg/ports/vulkan/CMakeLists.txt
Kai Pastor 8397227251
[vulkan-sdk-components] Use separate port for the SDK (#35742)
* [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
2023-12-29 00:21:45 -08:00

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)