core: emdawnwebgpu build support (#4370)

This commit is contained in:
Sargun Vohra
2026-07-24 00:57:28 -07:00
committed by GitHub
parent 18545ca10d
commit 15fcee54dc
8 changed files with 166 additions and 9 deletions

View File

@@ -1211,7 +1211,7 @@ endif()
# The Xcode generator with Dawn component targets (no monolithic library) breaks export()
# because dawn_native/dawn_proc aren't in an export set. Skip export in that case.
set(_can_export TRUE)
if(TARGET mbgl-vendor-dawn AND NOT TARGET dawn::webgpu_dawn)
if(TARGET mbgl-vendor-dawn AND NOT TARGET dawn::webgpu_dawn AND NOT MLN_WEBGPU_EMDAWN)
set(_can_export FALSE)
endif()
if(_can_export)