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