blob: fdc24d35756742aa4b36b6b2256967c1a6a964cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)
|