Update examples to use new option

We use a dictionary to remove some code duplication.
This commit is contained in:
Scott Anderson 2018-08-22 20:49:23 +12:00
parent 560e96aa57
commit 584a3f8b6e
3 changed files with 89 additions and 72 deletions

View file

@ -1,4 +1,3 @@
option('enable-examples', type: 'boolean', value: true, description: 'Build example applications')
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: ['systemd', 'elogind'], value: 'systemd', description: 'Provider of logind support library')