build: introduce sd-bus-provider option

This allows to select a specific provider for the sd-bus library.
This commit is contained in:
Simon Ser 2020-12-02 23:46:49 +01:00 committed by Brian Ashworth
parent 968c005760
commit fdbe98512a
5 changed files with 29 additions and 16 deletions

View file

@ -19,11 +19,7 @@ swaybar_deps = [
wayland_cursor
]
if have_tray
if systemd.found()
swaybar_deps += systemd
elif elogind.found()
swaybar_deps += elogind
endif
swaybar_deps += sdbus
endif
executable(