mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
meson build: make enable options work as auto/true/false
This makes meson fail if -Denable_systemd=true was set but not found The default is now auto which is the old behaviour
This commit is contained in:
parent
19d7edb430
commit
161ae2fcb4
2 changed files with 9 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
option('enable_libcap', type: 'boolean', value: true, description: 'Enable support for capabilities')
|
||||
option('enable_systemd', type: 'boolean', value: true, description: 'Enable support for logind')
|
||||
option('enable_elogind', type: 'boolean', value: true, description: 'Enable support for logind')
|
||||
option('enable_libcap', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Enable support for capabilities')
|
||||
option('enable_systemd', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Enable support for logind')
|
||||
option('enable_elogind', type: 'combo', choices: ['auto', 'true', 'false'], value: 'auto', description: 'Enable support for logind')
|
||||
option('enable_xwayland', type: 'boolean', value: true, description: 'Enable support X11 applications')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue