infra: ++wg_native package dependency

Windows might need a own library linking method.
This commit is contained in:
Hermet Park 2024-06-13 12:51:36 +09:00
parent a7f4d718f4
commit 5e6df3334b

View file

@ -19,8 +19,7 @@ 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)
wgpu_dep = dependency('wgpu_native')
engine_dep += [declare_dependency(
dependencies : wgpu_dep,