diff options
Diffstat (limited to 'contrib/session-helper/meson.build')
-rw-r--r-- | contrib/session-helper/meson.build | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/contrib/session-helper/meson.build b/contrib/session-helper/meson.build index 6b6bae0..ffff770 100644 --- a/contrib/session-helper/meson.build +++ b/contrib/session-helper/meson.build @@ -15,13 +15,15 @@ con2.set('servicedir', get_option('libexecdir'))) # replace @servicedir@ -configure_file( - input : 'colord-session.service.in', - output : 'colord-session.service', - configuration : con2, - install: true, - install_dir: systemd.get_pkgconfig_variable('systemduserunitdir'), -) +if get_option('enable-systemd') + configure_file( + input : 'colord-session.service.in', + output : 'colord-session.service', + configuration : con2, + install: true, + install_dir: systemd.get_pkgconfig_variable('systemduserunitdir'), + ) +endif # replace @servicedir@ configure_file( |