meson: allow libdv subproject fallback

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/854>
This commit is contained in:
Tim-Philipp Müller 2021-01-14 19:13:03 +00:00
parent c5ebaadf9d
commit c854e6bd39

View 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',