From a3bef76083bbc03bd353f8187555ae78dc7133a8 Mon Sep 17 00:00:00 2001 From: Veloman Yunkan Date: Thu, 6 Aug 2020 19:23:11 +0400 Subject: [PATCH] example.zim is copied only if gtest is available --- test/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/meson.build b/test/meson.build index ed17316cc..c45afa3c8 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,7 +1,3 @@ -configure_file(input : 'data/example.zim', - output : 'example.zim', - copy: true ) - tests = [ 'parseUrl', 'library', @@ -26,6 +22,10 @@ gtest_dep = dependency('gtest', required:false) 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', output : 'zimfile.zim', copy: true )