mirror of https://github.com/kiwix/libkiwix.git
example.zim is copied only if gtest is available
This commit is contained in:
parent
66563d93cc
commit
a3bef76083
|
@ -1,7 +1,3 @@
|
||||||
configure_file(input : 'data/example.zim',
|
|
||||||
output : 'example.zim',
|
|
||||||
copy: true )
|
|
||||||
|
|
||||||
tests = [
|
tests = [
|
||||||
'parseUrl',
|
'parseUrl',
|
||||||
'library',
|
'library',
|
||||||
|
@ -26,6 +22,10 @@ gtest_dep = dependency('gtest',
|
||||||
required:false)
|
required:false)
|
||||||
|
|
||||||
if gtest_dep.found() and not meson.is_cross_build()
|
if gtest_dep.found() and not meson.is_cross_build()
|
||||||
|
configure_file(input : 'data/example.zim',
|
||||||
|
output : 'example.zim',
|
||||||
|
copy: true )
|
||||||
|
|
||||||
configure_file(input : 'data/wikipedia_en_ray_charles_mini_2020-03.zim',
|
configure_file(input : 'data/wikipedia_en_ray_charles_mini_2020-03.zim',
|
||||||
output : 'zimfile.zim',
|
output : 'zimfile.zim',
|
||||||
copy: true )
|
copy: true )
|
||||||
|
|
Loading…
Reference in New Issue