[gnome-system-monitor] build: Suppress deprecation warning



commit a53d8d812f0edf14d92c719f0a0ec7a6e93b1ad8
Author: Ondřej Míchal <harrymichal seznam cz>
Date:   Sun Apr 10 21:15:05 2022 +0300

    build: Suppress deprecation warning

 meson.build     | 2 +-
 src/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index a314a684..8284ae75 100644
--- a/meson.build
+++ b/meson.build
@@ -195,7 +195,7 @@ subdir('help')
 message('\n'.join(['',
 'Configuration:',
 '',
-'        Source code location:   @0@'.format(meson.source_root()),
+'        Source code location:   @0@'.format(meson.project_source_root()),
 '        C Compiler:             @0@ @1@'.format(cc.get_id(), cc.version()),
 '        C++ Compiler:           @0@ @1@'.format(cx.get_id(), cx.version()),
 '        CFLAGS:                 @0@'.format(cflags),
diff --git a/src/meson.build b/src/meson.build
index 6b537363..9f523259 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -63,7 +63,7 @@ gsm_resource = gnome.compile_resources(
   'gsm',
   'gsm.gresource.xml',
   gresource_bundle: true,
-  source_dir: meson.source_root(),
+  source_dir: meson.project_source_root(),
   install: true,
   install_dir: gsm_resource_dir,
 )


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]