Improve disabled legacy engine build

This commit is contained in:
amitdo 2020-10-10 02:53:38 +03:00
parent f4744de78b
commit 50ca49a917

View File

@ -263,10 +263,12 @@ dawg_test_LDADD = $(TRAINING_LIBS)
denorm_test_SOURCES = denorm_test.cc
denorm_test_LDADD = $(TESS_LIBS)
if !DISABLED_LEGACY_ENGINE
if TENSORFLOW
equationdetect_test_SOURCES = equationdetect_test.cc
equationdetect_test_LDADD = $(TESS_LIBS) $(LEPTONICA_LIBS)
endif # TENSORFLOW
endif # !DISABLED_LEGACY_ENGINE
fileio_test_SOURCES = fileio_test.cc
fileio_test_LDADD = $(ABSEIL_LIBS) $(TRAINING_LIBS)