meson: Use the tests option for validate
[platform/upstream/gstreamer.git] / tests / meson.build
index b15dd52..25bd349 100644 (file)
@@ -10,11 +10,8 @@ gst_plugin_scanner_path = join_paths(gst_plugin_scanner_dir, 'gst-plugin-scanner
 if not get_option('tests').disabled() and gst_check_dep.found()
   subdir('check')
   subdir('icles')
+  subdir('validate')
 endif
 if not get_option('examples').disabled()
   subdir('examples')
 endif
-
-if not get_option('validate').disabled()
-  subdir('validate')
-endif