From 3d88fc6911eb074fce1ecaa8eff8a19872ecdefc Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 23 Nov 2020 20:06:20 +0100 Subject: build: Inherit systemd_user_services option from parent project This fixes a confusing build error when building tracker-miners with `-Dtracker_core=subproject -Dsystemd_user_services=false` (the fix would be to set `-Dtracker:systemd_user_services=false`, this commit makes it unnecessary.) --- meson_options.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 2bf362269..fc0810664 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -16,9 +16,9 @@ option('bash_completion_dir', type: 'string', description: 'Directory to install Bash completion files') option('dbus_services_dir', type: 'string', value: '', description: 'Directory to install D-Bus .service files (or empty to use default)') -option('systemd_user_services', type: 'boolean', value: true, +option('systemd_user_services', type: 'boolean', value: true, yield: true, description: 'Whether to install systemd user .service files') -option('systemd_user_services_dir', type: 'string', value: '', +option('systemd_user_services_dir', type: 'string', value: '', yield: true, description: 'Directory to install systemd user unit files (or empty to use default)') option('test_utils', type: 'boolean', value: true, description: 'Whether to install the trackertestutils Python package') -- cgit v1.2.1