meson: Allow using glib as a subproject
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 23 Jun 2017 20:18:36 +0000 (16:18 -0400)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 23 Jun 2017 20:18:36 +0000 (16:18 -0400)
meson.build

index a1e8f7569f31be26acebd375c21ab55559815f20..3dd9a8e89a6e97528b1fad295b21c57813521d24 100644 (file)
@@ -66,7 +66,7 @@ gstcontroller_dep = dependency('gstreamer-controller-1.0', version : gst_req,
 gstvalidate_dep = dependency('gst-validate-1.0', version : gst_req, required : false,
   fallback : ['gst-devtools', 'validate_dep'])
 
-gio_dep = dependency('gio-2.0', version : glib_req)
+gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
 libxml_dep = dependency('libxml-2.0')
 
 # TODO Properly port to Gtk 3