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 committed by Hermet Park
parent 9b4df3f0af
commit 1d9adab607

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,