Meson: fallback to libsoup subproject

This commit is contained in:
Xavier Claessens 2018-12-18 14:46:25 -05:00 committed by Xavier Claessens
parent 8ed603958d
commit aaa7c60b52

View file

@ -10,7 +10,8 @@ soup_args = [
'-DSOUP_VERSION_MAX_ALLOWED=SOUP_DEPRECATED_IN_2_48', '-DSOUP_VERSION_MAX_ALLOWED=SOUP_DEPRECATED_IN_2_48',
] ]
libsoup_dep = dependency('libsoup-2.4', version : '>=2.48', required : get_option('soup')) libsoup_dep = dependency('libsoup-2.4', version : '>=2.48', required : get_option('soup'),
fallback : ['libsoup', 'libsoup_dep'])
if libsoup_dep.found() if libsoup_dep.found()
gstsouphttpsrc = library('gstsoup', gstsouphttpsrc = library('gstsoup',