From 7291c843a46dda783affc78743dcf8c9fd8ecf9e Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 31 Mar 2024 17:52:32 +0200 Subject: [PATCH] Set maximum version for libzim --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8bfa8bfb..aaafef3d 100644 --- a/meson.build +++ b/meson.build @@ -19,7 +19,9 @@ if static_linkage endif endif -libzim_dep = dependency('libzim', version : '>=9.1.0', static:static_linkage) +libzim_dep = dependency('libzim', version:'>=9.1.0', static:static_linkage) +libzim_dep = dependency('libzim', version:'<10.0.0', static:static_linkage) + with_xapian_support = compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN') find_library_in_compiler = meson.version().version_compare('>=0.31.0')