meson: allow libdv subproject fallback
authorTim-Philipp Müller <tim@centricular.com>
Thu, 14 Jan 2021 19:13:03 +0000 (19:13 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 14 Jan 2021 19:13:03 +0000 (19:13 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/854>

ext/dv/meson.build

index ccb4a69..fe558d3 100644 (file)
@@ -6,7 +6,8 @@ dv_sources = [
   'smpte_test.c',
 ]
 
-dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'))
+dv_dep = dependency('libdv', version : '>= 0.100', required : get_option('dv'),
+  fallback: ['dv', 'dv_dep'])
 
 if dv_dep.found()
   gstdv = library('gstdv',