Skip to content

Commit

Permalink
unittest: Fix path for libtesseract in out of tree builds
Browse files Browse the repository at this point in the history
The library is provided in the build path (which is not
the same as the source path for out of tree builds).

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Sep 12, 2017
1 parent 04b0397 commit 4ae227d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions unittest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ libgtest_main_la_SOURCES = ../googletest/googletest/src/gtest_main.cc

# Build unittests
GTEST_LIBS = libgtest.la libgtest_main.la
TESS_LIBS = \
$(top_srcdir)/api/libtesseract.la
TESS_LIBS = $(top_builddir)/api/libtesseract.la
AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include

check_PROGRAMS = \
Expand Down

0 comments on commit 4ae227d

Please sign in to comment.