From 95733433d9ec7ca22785b5781700e483bd78bafa Mon Sep 17 00:00:00 2001 From: zdenop Date: Sat, 16 Nov 2019 14:12:49 +0100 Subject: [PATCH] unittest: Don't build tatweel_test when TensorFlow is disabled Signed-off-by: Stefan Weil --- unittest/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/unittest/Makefile.am b/unittest/Makefile.am index eaa86ab6..1a70cd51 100644 --- a/unittest/Makefile.am +++ b/unittest/Makefile.am @@ -160,10 +160,11 @@ check_PROGRAMS += stringrenderer_test check_PROGRAMS += tablefind_test check_PROGRAMS += tablerecog_test check_PROGRAMS += tabvector_test -# check_PROGRAMS += tatweel_test +if TENSORFLOW +check_PROGRAMS += tatweel_test +endif # TENSORFLOW check_PROGRAMS += textlineprojection_test check_PROGRAMS += tfile_test - if ENABLE_TRAINING check_PROGRAMS += commandlineflags_test check_PROGRAMS += lstm_recode_test