mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
30308e35fa
The logind provider defaulted to systemd and in order to use elogind, -Dlogin-provider=elogind was required. This adds 'auto' as a choice for the login-provider option and sets it as default. Using 'auto', the build will check for systemd first and if it's not found, try to find and use elogind automatically.
10 lines
1013 B
Meson
10 lines
1013 B
Meson
option('libcap', type: 'feature', value: 'auto', description: 'Enable support for rootless session via capabilities (cap_sys_admin)')
|
|
option('logind', type: 'feature', value: 'auto', description: 'Enable support for rootless session via logind')
|
|
option('logind-provider', type: 'combo', choices: ['auto', 'systemd', 'elogind'], value: 'auto', description: 'Provider of logind support library')
|
|
option('xcb-errors', type: 'feature', value: 'auto', description: 'Use xcb-errors util library')
|
|
option('xcb-icccm', type: 'feature', value: 'auto', description: 'Use xcb-icccm util library')
|
|
option('xwayland', type: 'feature', value: 'auto', yield: true, description: 'Enable support for X11 applications')
|
|
option('x11-backend', type: 'feature', value: 'auto', description: 'Enable X11 backend')
|
|
option('examples', type: 'boolean', value: true, description: 'Build example applications')
|
|
option('icon_directory', description: 'Location used to look for cursors (default: ${datadir}/icons)', type: 'string', value: '')
|