From f4a6a99b7c7fa1155d4380e71e8bbac391623597 Mon Sep 17 00:00:00 2001 From: Andreas Persson Date: Thu, 6 Aug 2020 11:59:17 +0200 Subject: [PATCH] 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.) --- tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index c7a83bb7d1..fd5fd6905d 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -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',