meson: Replace meson.source_root() with meson.project_source_root()

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>
This commit is contained in:
Michal Privoznik 2025-01-13 09:22:41 +01:00
parent a71985f6f3
commit 32140bdb09

View File

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