aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
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 a3c77b4..421b8aa 100644
--- a/meson.build
+++ b/meson.build
@@ -346,7 +346,9 @@ endif
subdir('util')
# Data and build tests
-subdir('test')
+if not get_option('tests').disabled()
+ subdir('test')
+endif
if not meson.is_subproject()
summary('Tests', not get_option('tests').disabled(), bool_yn: true)