Skip to content

Commit

Permalink
Fix linking of unittest with Tensorflow
Browse files Browse the repository at this point in the history
This does not add Tensorflow tests. It only fixes the linker errors.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed May 24, 2019
1 parent 2441e4d commit 1ba8c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ ABSEIL_LIBS = libabseil.la
GTEST_LIBS = libgtest.la libgtest_main.la -lpthread
GMOCK_LIBS = libgmock.la libgmock_main.la
TESS_LIBS = $(top_builddir)/src/api/libtesseract.la $(libarchive_LIBS)
TESS_LIBS += $(TENSORFLOW_LIBS)
TRAINING_LIBS = $(top_builddir)/src/training/libtesseract_training.la
TRAINING_LIBS += $(top_builddir)/src/training/libtesseract_tessopt.la
AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include \
Expand Down

0 comments on commit 1ba8c97

Please sign in to comment.