mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
meson: Add fallback for openh264 dependency
This commit is contained in:
parent
bc128d6100
commit
a387f4bc33
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ openh264_sources = [
|
|||
'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)
|
||||
if openh264_dep.found()
|
||||
|
|
Loading…
Reference in a new issue