summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2019-09-28 12:27:13 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-09-28 12:31:01 +0200
commit1cb3b2b27f824f3bbdab1a2e3fedf45a39689019 (patch)
tree77316a989ea260f0976fc32321c5d7dbdc46cbea /meson_options.txt
parentaec85eaf4d41fbc82889a2dfe1c0e672f036cbae (diff)
downloadgobject-introspection-1cb3b2b27f824f3bbdab1a2e3fedf45a39689019.tar.gz
meson: change "cairo" from a boolean to a feature option
We require cairo only to run all tests and thus default it to false. This usually results in developers not using it when working on changes and tests depending on cairo then failing in CI. This changes it to a feature option that defaults to auto, so that devs that have cairo headers installed will automatically use it.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 445a68a4..2bf2876f 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,4 +1,4 @@
-option('cairo', type: 'boolean', value : false,
+option('cairo', type: 'feature', value : 'auto',
description: 'Use cairo for tests'
)