From de834bcfe990442e8a76263df4e09ac2b7671b81 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 29 Dec 2021 11:07:14 +0100 Subject: [PATCH] meson: Don't use deprecated meson.build_root() This function is deprecated since 0.56.0: WARNING: Project targeting '>= 0.56.0' but tried to use feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead. --- doc/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/meson.build b/doc/meson.build index 31c79ae..85bddaf 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -26,9 +26,9 @@ gnome.gtkdoc('calls', main_xml: 'calls-docs.xml', src_dir: [ join_paths(meson.source_root(), 'src'), - join_paths(meson.build_root(), 'src'), - join_paths(meson.build_root(), 'src/dbus'), - join_paths(meson.build_root(), 'plugins/ofono/libgdbofono'), + join_paths(meson.project_build_root(), 'src'), + join_paths(meson.project_build_root(), 'src/dbus'), + join_paths(meson.project_build_root(), 'plugins/ofono/libgdbofono'), ], dependencies: calls_doc_deps, scan_args: [