summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2022-01-26 18:08:24 -0800
committerCarlos Garnacho <carlosg@gnome.org>2022-02-20 20:53:07 +0100
commit9a8433c47b8326f5291c841de27253ab601efeed (patch)
tree150f33711cc72932da32279aa82aebbdb3274c41 /meson_options.txt
parentedcdecdd7d1246396f3412218e8187bfbf555a29 (diff)
downloadtracker-9a8433c47b8326f5291c841de27253ab601efeed.tar.gz
build: Add config options for libsoup
This allows distributions that ship both versions to choose which version of libsoup will be linked.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index ec8ea8bc2..0b5d51759 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -30,3 +30,7 @@ option('tests_tap_protocol', type: 'boolean', value: false,
description: 'Whether to enable TAP protocol on tests')
option('introspection', type: 'feature', value: 'enabled',
description: 'Whether to enable introspection')
+
+option('soup', type: 'array', value: ['auto'],
+ choices: ['auto', 'soup2', 'soup3'],
+ description: 'Which major versions of libsoup to use')