[tracker/sam/systemd-default-option] build: Inherit systemd_user_services option from parent project




commit 3d88fc6911eb074fce1ecaa8eff8a19872ecdefc
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Nov 23 20:06:20 2020 +0100

    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')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]