From ed6ba5163bb53f26f2d473dc671c2e410759f464 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Sun, 15 Sep 2024 18:31:35 +0200 Subject: [PATCH] Better check libzim version --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 344bbaf4..91556676 100644 --- a/meson.build +++ b/meson.build @@ -17,8 +17,7 @@ if static_linkage endif endif -libzim_dep = dependency('libzim', version:'>=9.2.0', static:static_linkage) -libzim_dep = dependency('libzim', version:'<10.0.0', static:static_linkage) +libzim_dep = dependency('libzim', version:['>=9.2.0', '<10.0.0'], static:static_linkage) with_xapian_support = compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN')