From 78ccc551d6dc6dd683692e8ac87baf5dfb41dd54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 7 Nov 2020 17:30:19 +0000 Subject: [PATCH] opus: add subproject fallback Part-of: --- ext/opus/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/opus/meson.build b/ext/opus/meson.build index 1dadcbffcb..130c92df34 100644 --- a/ext/opus/meson.build +++ b/ext/opus/meson.build @@ -6,7 +6,8 @@ opus_sources = [ 'gstopusheader.c', ] -opus_dep = dependency('opus', version : '>= 0.9.4', required : get_option('opus')) +opus_dep = dependency('opus', version: '>= 0.9.4', required: get_option('opus'), + fallback: ['opus', 'opus_dep']) if opus_dep.found() gstopus = library('gstopus',