Don't try to build ges if required dep isn't found
authorTim-Philipp Müller <tim@centricular.com>
Thu, 3 Aug 2017 22:45:52 +0000 (23:45 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 3 Aug 2017 22:45:52 +0000 (23:45 +0100)
We shouldn't error out all of gst-build by default
if one of ges's required deps is not there.

meson.build

index f89db0e..7d263ca 100644 (file)
@@ -76,7 +76,11 @@ if not get_option('disable_gst_devtools')
 endif
 
 if not get_option('disable_gst_editing_services')
+  if dependency('libxml-2.0').found()
     subprojects += ['gst-editing-services']
+  else
+    message('WARNING: not building gst-editing-services module, missing libxml-2.0')
+  endif
 endif
 
 if not get_option('disable_rtsp_server')