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

@ -6,3 +6,4 @@ option('xwayland', type: 'feature', value: 'auto', description: 'Enable support
option('tray', type: 'feature', value: 'auto', description: 'Enable support for swaybar tray')
option('gdk-pixbuf', type: 'feature', value: 'auto', description: 'Enable support for more image formats in swaybg')
option('man-pages', type: 'feature', value: 'auto', description: 'Generate and install man pages')
option('sd-bus-provider', type: 'combo', choices: ['auto', 'libsystemd', 'libelogind'], value: 'auto', description: 'Provider of the sd-bus library')