diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/qtbase/moltenvk.patch | |
Diffstat (limited to 'vcpkg/ports/qtbase/moltenvk.patch')
| -rw-r--r-- | vcpkg/ports/qtbase/moltenvk.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/qtbase/moltenvk.patch b/vcpkg/ports/qtbase/moltenvk.patch new file mode 100644 index 0000000..64b445c --- /dev/null +++ b/vcpkg/ports/qtbase/moltenvk.patch @@ -0,0 +1,13 @@ +diff --git a/cmake/FindWrapVulkanHeaders.cmake b/cmake/FindWrapVulkanHeaders.cmake +index 92510ae..afd931f 100644 +--- a/cmake/FindWrapVulkanHeaders.cmake ++++ b/cmake/FindWrapVulkanHeaders.cmake +@@ -29,6 +29,8 @@ if(Vulkan_INCLUDE_DIR) + + # Also propagate MoltenVK include directory on Apple platforms if found. + if(APPLE) ++ find_package(Vulkan COMPONENTS MoltenVK REQUIRED) ++ target_link_libraries(WrapVulkanHeaders::WrapVulkanHeaders INTERFACE Vulkan::MoltenVK) + # Check for the LunarG Vulkan SDK folder structure. + set(__qt_molten_vk_include_path "${Vulkan_INCLUDE_DIR}/../../MoltenVK/include") + get_filename_component( |