mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
Improve disabled legacy engine build
This commit is contained in:
parent
f4744de78b
commit
50ca49a917
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user