diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-27 21:59:45 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-27 21:59:45 +0530 |
commit | 647ef1b2af4029867923609cecd42add013658df (patch) | |
tree | 6102a330f526ae13fb0fb928da8743d31e5a73ca | |
parent | 48a83e2b4fb2f76b2ea4c6c784aa5c5ec8339fb1 (diff) |
meson: Add a subproject fallback for x264
-rw-r--r-- | ext/x264/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/x264/meson.build b/ext/x264/meson.build index aa4f58e3..e7503739 100644 --- a/ext/x264/meson.build +++ b/ext/x264/meson.build @@ -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') |