mirror of https://github.com/kiwix/libkiwix.git
Merge pull request #951 from OlCe2/oc-xapian_libzim_fix
This commit is contained in:
commit
552717b9ce
|
@ -36,7 +36,7 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libzim_dep = dependency('libzim', version : '>=8.1.0', static:static_deps)
|
libzim_dep = dependency('libzim', version : '>=8.1.0', static:static_deps)
|
||||||
if not compiler.has_header_symbol('zim/zim.h', 'LIBZIM_WITH_XAPIAN')
|
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
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue