meson: Add fallback for openh264 dependency
This commit is contained in:
parent
bc128d6100
commit
a387f4bc33
@ -4,7 +4,8 @@ openh264_sources = [
|
|||||||
'gstopenh264plugin.c',
|
'gstopenh264plugin.c',
|
||||||
]
|
]
|
||||||
|
|
||||||
openh264_dep = dependency('openh264', version : '>= 1.3.0', required : false)
|
openh264_dep = dependency('openh264', version : '>= 1.3.0', required : false,
|
||||||
|
fallback: ['openh264', 'openh264_dep'])
|
||||||
|
|
||||||
# FIXME: check if C++ compiler is available via new add_languages() semantics in meson git (~v30)
|
# FIXME: check if C++ compiler is available via new add_languages() semantics in meson git (~v30)
|
||||||
if openh264_dep.found()
|
if openh264_dep.found()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user