1
1
project (' kiwix-tools' , ' cpp' ,
2
- version : ' 3.1.2 ' ,
2
+ version : ' 3.2.0 ' ,
3
3
license : ' GPL' ,
4
4
default_options : [' c_std=c11' , ' cpp_std=c++11' ])
5
5
@@ -12,17 +12,11 @@ if static_linkage
12
12
add_global_link_arguments (' -static-libstdc++' , ' --static' , language :' cpp' )
13
13
endif
14
14
15
- libzim_dep = dependency (' libzim' , version : ' >=7.2.0' , static :static_linkage)
16
- if not compiler.has_header_symbol(' zim/zim.h' , ' LIBZIM_WITH_XAPIAN' )
17
- error (' Libzim seems to be compiled without xapian. Xapian support is mandatory.' )
18
- endif
19
-
20
15
thread_dep = dependency (' threads' )
21
- libkiwix_dep = dependency (' kiwix' , version :' >=10.0.0' , static :static_linkage)
22
- microhttpd_dep = dependency (' libmicrohttpd' , static :static_linkage)
23
- z_dep = dependency (' zlib' , static :static_linkage)
16
+ kiwixlib_dep = dependency (' kiwix' , version :' >=10.0.0' , static :static_linkage)
17
+ libzim_dep = dependency (' libzim' , version :' >=7.2.0' , static :static_linkage)
24
18
25
- all_deps = [thread_dep, libzim_dep, libkiwix_dep, microhttpd_dep, z_dep ]
19
+ all_deps = [thread_dep, kiwixlib_dep, libzim_dep ]
26
20
27
21
if static_linkage
28
22
librt = compiler.find_library (' rt' , required :false )
0 commit comments