]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Replace meson.source_root() with meson.project_source_root() v11.0.0-rc2
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Jan 2025 08:22:41 +0000 (09:22 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 13 Jan 2025 11:33:23 +0000 (12:33 +0100)
The source_root() method is deprecated in 0.56.0 and we're
recommended to use project_source_root() instead.

This is similar to commit v8.9.0-rc1~70 but somehow, the old
method sneaked in.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
meson.build

index c1a2e6eadb7d7507ef2e6f9cfbe31f8cae03e6d4..f8eff99e2c82a58a280f405161f1b46dc8e3e43a 100644 (file)
@@ -17,7 +17,7 @@ endif
 
 i18n = import('i18n')
 
-po_dir = meson.source_root() / 'po'
+po_dir = meson.project_source_root() / 'po'
 
 # figure out if we are building from git