mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
chore(build): exclude webgpu_native for emscripten build
- Add platform check to exclude webgpu_native in meson.build - Avoid requiring -Dbindings=wasm_beta for Emscripten builds
This commit is contained in:
parent
3a3041a276
commit
53487421b5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ source_file = [
|
|||
]
|
||||
|
||||
wgpu_dep = []
|
||||
if not get_option('bindings').contains('wasm_beta')
|
||||
if host_machine.system() != 'emscripten'
|
||||
wgpu_dep = dependency('wgpu_native')
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue