Skip to content

Commit

Permalink
opus: add subproject fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
tp-m authored and GStreamer Merge Bot committed Nov 13, 2020
1 parent fe20cac commit 78ccc55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/opus/meson.build
Expand Up @@ -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',
Expand Down

0 comments on commit 78ccc55

Please sign in to comment.