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 7bc9c1ebfe
commit 0a8861bcbc

View file

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