summaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/meson.build b/tests/meson.build
index ffab51ec0..f15fe4d05 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -2,5 +2,6 @@
if host_machine.system() != 'windows'
subdir('check')
endif
-
-subdir('examples')
+if not get_option('examples').disabled()
+ subdir('examples')
+endif