mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Compile src/lstm/tfnetwork.cpp only in builds with TensorFlow
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
4e42f9de54
commit
67aad9ed13
@ -549,11 +549,11 @@ libtesseract_lstm_la_SOURCES += src/lstm/reconfig.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/reversed.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/series.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/stridemap.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/tfnetwork.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/weightmatrix.cpp
|
||||
if TENSORFLOW
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/tfnetwork.cpp
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/tfnetwork.pb.cc
|
||||
endif
|
||||
libtesseract_lstm_la_SOURCES += src/lstm/weightmatrix.cpp
|
||||
|
||||
# Rules for src/textord.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user