summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Van Assche <me@dylanvanassche.be>2023-01-08 20:26:07 +0100
committerDylan Van Assche <dylan.vanassche@ugent.be>2023-01-20 16:24:57 +0100
commita6b22a7c35ece1a077bd1732a3b38e79a3c707c7 (patch)
tree56193d19c66f45eba5661a52b2515b2ff05801d6
parente8c3c25b8ef2b70d86d31de6aec3d485024bc7e5 (diff)
downloadgeoclue-a6b22a7c35ece1a077bd1732a3b38e79a3c707c7.tar.gz
meson: drop deprecated source_root()
Meson 0.56.0 deprecated source_root(), use project_source_root() instead.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b654958..753bc89 100644
--- a/meson.build
+++ b/meson.build
@@ -27,7 +27,7 @@ conf.set_quoted('PACKAGE_TARNAME', 'geoclue')
conf.set_quoted('PACKAGE_STRING', 'geoclue ' + gclue_version)
conf.set_quoted('PACKAGE_URL', 'https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home')
conf.set_quoted('PACKAGE_BUGREPORT', 'https://gitlab.freedesktop.org/geoclue/geoclue/issues/new')
-conf.set_quoted('TEST_SRCDIR', meson.source_root() + '/data/')
+conf.set_quoted('TEST_SRCDIR', meson.project_source_root() + '/data/')
conf.set_quoted('LOCALEDIR', localedir)
conf.set_quoted('SYSCONFDIR', sysconfdir)
conf.set_quoted('MOZILLA_API_KEY', get_option('mozilla-api-key'))