Merge branch 'rsvg-check' into 'master'

Specify version for optional librsvg dependency

See merge request GNOME/gtk!2385
This commit is contained in:
Emmanuele Bassi 2020-08-06 12:35:19 +00:00
commit 83e9b5b408

View File

@ -141,7 +141,7 @@ if get_option('profiler')
dependencies: [profiler_dep, platform_gio_dep, libm])
endif
librsvg = dependency('librsvg-2.0', required: false)
librsvg = dependency('librsvg-2.0', version: '>= 2.46.0', required: false)
if librsvg.found()
executable('testsvg', 'testsvg.c',