summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2020-05-03 10:29:36 +0200
committerFabrice Fontaine <fontaine.fabrice@gmail.com>2020-05-03 10:51:41 +0200
commit466d04a57b32417dbf2d5e818af1b7593af5f802 (patch)
tree09dfd040b853969f4f65effd1af49cf64d68455b /meson.build
parenteac8e935128753f8204ecc3904e6e3e7b231e3ea (diff)
downloadat-spi2-atk-466d04a57b32417dbf2d5e818af1b7593af5f802.tar.gz
meson: add tests option
Add tests option to allow the user to build at-spi2-atk without tests, it is especially useful as one of the test requires libxml-2.0 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9fce5d6..61bc93d 100644
--- a/meson.build
+++ b/meson.build
@@ -61,4 +61,6 @@ install_data('at-spi2-atk.desktop',
subdir('droute')
subdir('atk-adaptor')
-subdir('tests')
+if get_option('tests')
+ subdir('tests')
+endif