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')