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/dawn/006-fix-x11-include-dirs.patch | |
Diffstat (limited to 'vcpkg/ports/dawn/006-fix-x11-include-dirs.patch')
| -rw-r--r-- | vcpkg/ports/dawn/006-fix-x11-include-dirs.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/dawn/006-fix-x11-include-dirs.patch b/vcpkg/ports/dawn/006-fix-x11-include-dirs.patch new file mode 100644 index 0000000..fdc24d3 --- /dev/null +++ b/vcpkg/ports/dawn/006-fix-x11-include-dirs.patch @@ -0,0 +1,23 @@ +diff --git a/src/dawn/native/CMakeLists.txt b/src/dawn/native/CMakeLists.txt +index 72b92fc8..a1c6016c 100644 +--- a/src/dawn/native/CMakeLists.txt ++++ b/src/dawn/native/CMakeLists.txt +@@ -926,6 +926,7 @@ if(BUILD_SHARED_LIBS) + endif() + + if (DAWN_USE_X11) ++ target_include_directories(dawn_native_objects PRIVATE ${X11_INCLUDE_DIR}) + target_include_directories(dawn_native PRIVATE ${X11_INCLUDE_DIR}) + endif() + +@@ -999,6 +1000,10 @@ if (DAWN_BUILD_MONOLITHIC_LIBRARY) + ) + endif() + ++ if (DAWN_USE_X11) ++ target_include_directories(webgpu_dawn_objects PRIVATE ${X11_INCLUDE_DIR}) ++ endif() ++ + # Do the bundling of all the objects and dependencies together. + include(BundleLibraries) + bundle_libraries(webgpu_dawn ${DAWN_BUILD_MONOLITHIC_LIBRARY} webgpu_dawn_objects) |