aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-08-20 22:19:47 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-20 22:19:47 +1200
commit75978636d9eddcbaf1ebea4091af2b18da71a7f4 (patch)
treec7b90ac31d782742c628ffa2803b9243cc2e2de4 /meson_options.txt
parenta1c3636d69fa6fa83d34f38bffc1640b17fed101 (diff)
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.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
new file mode 100644
index 00000000..ab74eec1
--- /dev/null
+++ b/meson_options.txt
@@ -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')