build: warn of faulty check version

Differential Revision: https://phab.enlightenment.org/D12067
This commit is contained in:
Marcel Hollerbach 2020-07-27 12:24:57 +02:00
parent fb33fcb370
commit 2b0b8f0930
1 changed files with 4 additions and 0 deletions

View File

@ -582,6 +582,10 @@ subdir(join_paths('data'))
if get_option('build-tests')
check = dependency('check')
if (check.version() == '0.15.1')
error('There is a bug in check@0.15.1 which does not allow efl to be compiled with it. Please downgrade / upgrade or disable tests')
endif
test_env = environment()
test_env.set('EFL_RUN_IN_TREE', '1')