mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
make systemd dependency optional
Don't recurse into the directory of systemd when it was not found. There are still some issues because libudev is actually provided by systemd these days and we still need that for building the v4l2 and alsa monitors.
This commit is contained in:
parent
52d193b3e3
commit
1ace2a5daf
2 changed files with 6 additions and 5 deletions
|
|
@ -30,4 +30,8 @@ executable('pipewire',
|
|||
dependencies : [pipewire_dep],
|
||||
)
|
||||
|
||||
subdir('systemd')
|
||||
systemd = dependency('systemd', required: false)
|
||||
|
||||
if systemd.found()
|
||||
subdir('systemd')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue