mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
wg_engine: add the wgpu_native library dependency.
about the wgpu-native please visit: https://github.com/gfx-rs/wgpu-native/releases
This commit is contained in:
parent
f1f116a5d7
commit
97ee9edaa2
1 changed files with 4 additions and 0 deletions
|
@ -19,7 +19,11 @@ source_file = [
|
|||
'tvgWgShaderTypes.cpp'
|
||||
]
|
||||
|
||||
#TODO: force the requirement, when the official wegpu package is distributed.
|
||||
wgpu_dep = meson.get_compiler('cpp').find_library('wgpu_native', required: false)
|
||||
|
||||
engine_dep += [declare_dependency(
|
||||
dependencies : wgpu_dep,
|
||||
include_directories : include_directories('.'),
|
||||
sources : source_file
|
||||
)]
|
||||
|
|
Loading…
Add table
Reference in a new issue