diff options
author | Andreas Persson <andreasp56@outlook.com> | 2020-08-06 11:59:17 +0200 |
---|---|---|
committer | Andreas Persson <andreasp56@outlook.com> | 2020-08-06 14:02:02 +0200 |
commit | f4a6a99b7c7fa1155d4380e71e8bbac391623597 (patch) | |
tree | d342aa136c88e0eddf1e98c31c2380f609c9b7d4 | |
parent | dd0c364938c45eae928ce83490a28c03779e109b (diff) | |
download | gtk+-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.build | 2 |
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', |