summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Persson <andreasp56@outlook.com>2020-08-06 11:59:17 +0200
committerAndreas Persson <andreasp56@outlook.com>2020-08-06 14:02:02 +0200
commitf4a6a99b7c7fa1155d4380e71e8bbac391623597 (patch)
treed342aa136c88e0eddf1e98c31c2380f609c9b7d4
parentdd0c364938c45eae928ce83490a28c03779e109b (diff)
downloadgtk+-f4a6a99b7c7fa1155d4380e71e8bbac391623597.tar.gz
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.)
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
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',