forked from AuroraMiddleware/gtk
Specify version for optional librsvg dependency
The testsvg test uses a method in librsvg that was introduced in 2.46.0. The test is now skipped if the librsvg version is too old. (It was previously already skipped if librsvg wasn't found.)
This commit is contained in:
parent
dd0c364938
commit
f4a6a99b7c
@ -141,7 +141,7 @@ if get_option('profiler')
|
|||||||
dependencies: [profiler_dep, platform_gio_dep, libm])
|
dependencies: [profiler_dep, platform_gio_dep, libm])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
librsvg = dependency('librsvg-2.0', required: false)
|
librsvg = dependency('librsvg-2.0', version: '>= 2.46.0', required: false)
|
||||||
|
|
||||||
if librsvg.found()
|
if librsvg.found()
|
||||||
executable('testsvg', 'testsvg.c',
|
executable('testsvg', 'testsvg.c',
|
||||||
|
Loading…
Reference in New Issue
Block a user