meson: fix warning for deprecated source_root
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4fc5840a1f5fa4d44c213e633f8da9fbc4b7c5c6
diff --git a/meson.build b/meson.build
index bcbcb02..0a4238b 100644
--- a/meson.build
+++ b/meson.build
@@ -201,7 +201,7 @@
FRUGEN = '$srcdir/extra-properties.py -e' + get_option('FRU_YAML')
PROPGEN = '$srcdir/extra-properties.py -e' + get_option('PROP_YAML')
- src_dir = meson.source_root()
+ src_dir = meson.project_source_root()
FRU_GEN_SCRIPT = src_dir + '/writefru.py'
FRU_GEN_SCRIPT_FILES = src_dir + '/writefru.yaml'