From 7f0f09d1bcf7bfacaad83d15b89f665641781824 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Tue, 7 Jul 2026 11:25:49 -0400 Subject: [PATCH] Add WGPU default platform includes to mbgl-core (#4380) --- cmake/webgpu.cmake | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cmake/webgpu.cmake b/cmake/webgpu.cmake index 04fcbac0f..3338a8749 100644 --- a/cmake/webgpu.cmake +++ b/cmake/webgpu.cmake @@ -9,6 +9,12 @@ target_compile_definitions( MLN_RENDER_BACKEND_WEBGPU=1 ) +target_include_directories( + mbgl-core + PUBLIC + ${PROJECT_SOURCE_DIR}/platform/default/include +) + list(APPEND SRC_FILES ${PROJECT_SOURCE_DIR}/src/mbgl/webgpu/buffer_resource.cpp