mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
meson: Add a subproject fallback for x264
This commit is contained in:
parent
48a83e2b4f
commit
647ef1b2af
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@ x264_sources = [
|
|||
'gstx264enc.c',
|
||||
]
|
||||
|
||||
x264_dep = dependency('x264', required : get_option('x264'))
|
||||
x264_dep = dependency('x264', required : get_option('x264'),
|
||||
fallback: ['x264', 'libx264_dep'])
|
||||
|
||||
if x264_dep.found()
|
||||
x264_libraries = get_option('x264_libraries')
|
||||
|
|
Loading…
Reference in a new issue