meson: Fix configure when systemd option is set to false

Otherwise it fails with systemd variable not found.
This commit is contained in:
maxice8 2018-11-22 17:36:59 -02:00 committed by Wim Taymans
parent 14ebb85e74
commit 57ba8108f1

View file

@ -29,6 +29,6 @@ executable('pipewire',
dependencies : [pipewire_dep],
)
if systemd.found()
if get_option('systemd') and systemd.found()
subdir('systemd')
endif