gst-inspect: fix unused-const-variable error in windows
[platform/upstream/gstreamer.git] / tests / meson.build
index a53dcf8..324355c 100644 (file)
@@ -1,6 +1,12 @@
-subdir('benchmarks')
-subdir('check')
-if not get_option('disable_examples')
+if not get_option('benchmarks').disabled()
+  subdir('benchmarks')
+endif
+if not get_option('tests').disabled() and gst_check_dep.found()
+  subdir('check')
+endif
+if not get_option('examples').disabled()
   subdir('examples')
 endif
-subdir('misc')
+if not get_option('tools').disabled()
+  subdir('misc')
+endif