summaryrefslogtreecommitdiff
path: root/libgweather/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'libgweather/meson.build')
-rw-r--r--libgweather/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgweather/meson.build b/libgweather/meson.build
index d0a0aff..8262832 100644
--- a/libgweather/meson.build
+++ b/libgweather/meson.build
@@ -241,5 +241,7 @@ pkgconfig.generate(
],
)
-subdir('tests')
-subdir('tools')
+if get_option('tests')
+ subdir('tests')
+ subdir('tools')
+endif