Change meson to be more configurable

We move the warning options into the project's default_options, meaning
a user can configure them with `meson configure` and not need to edit
the file.

We also make it possible to disable logind/libcap even if they're
present.
This commit is contained in:
Scott Anderson 2017-08-20 22:19:47 +12:00
parent a1c3636d69
commit 75978636d9
2 changed files with 25 additions and 22 deletions

2
meson_options.txt Normal file
View file

@ -0,0 +1,2 @@
option('enable_libcap', type: 'boolean', value: true, description: 'Enable support for capabilities')
option('enable_systemd', type: 'boolean', value: true, description: 'Enable support for logind')