From f6765137e7b0cb4dad62b8bbd819d698f4a1c812 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Sun, 15 Sep 2024 16:01:54 +0400 Subject: [PATCH] Fixed the libzim version requirement Also fixed capitalization in an error message --- meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 410532d2..a0d9f988 100644 --- a/meson.build +++ b/meson.build @@ -35,11 +35,10 @@ else error('Cannot found header mustache.hpp') endif -libzim_dep = dependency('libzim', version:'>=9.0.0', static:static_deps) -libzim_dep = dependency('libzim', version:'<10.0.0', static:static_deps) +libzim_dep = dependency('libzim', version:['>=9.0.0', '<10.0.0'], static:static_deps) if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN', dependencies: libzim_dep) - error('Libzim seems to be compiled without xapian. Xapian support is mandatory.') + error('Libzim seems to be compiled without Xapian. Xapian support is mandatory.') endif