[meson] fix deprecation warning

Deprecated in `0.56.0`: `meson.source_root`.
This commit is contained in:
Benoit Pierre 2023-01-28 17:08:54 +01:00
parent 7a381eedd0
commit 03f99040dd
1 changed files with 1 additions and 1 deletions

View File

@ -890,7 +890,7 @@ if get_option('tests').enabled()
env = environment()
env.set('srcdir', meson.current_source_dir())
env.set('base_srcdir', meson.source_root())
env.set('base_srcdir', meson.project_source_root())
env.set('builddir', meson.current_build_dir())
env.set('libs', meson.current_build_dir()) # TODO: Merge this with builddir after autotools removal
HBSOURCES = []