summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 2e656b4..13022e0 100644
--- a/meson.build
+++ b/meson.build
@@ -42,8 +42,10 @@ python = import('python').find_installation(
python.install_sources(sources, preserve_path: true)
-subdir('tests')
-
+if get_option('tests').enabled()
+ subdir('tests')
+endif
+
# Local Variables:
# eval: (remove-hook 'before-save-hook 'fmt-current-buffer t)
# End: