mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Fix unittest for autotools configuration after source tree reorganisation
Now "make check" also works again. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
4f9493c409
commit
a2a12a4469
@ -9,20 +9,20 @@ TESTING_DIR=$(shell cd $(top_srcdir) && pwd)/testing
|
||||
AM_CPPFLAGS += -DTESSDATA_DIR="\"$(TESSDATA_DIR)\""
|
||||
AM_CPPFLAGS += -DTESTING_DIR="\"$(TESTING_DIR)\""
|
||||
AM_CPPFLAGS += -DPANGO_ENABLE_ENGINE
|
||||
AM_CPPFLAGS += -I$(top_builddir)/api
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/api
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/arch
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/ccmain
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/ccstruct
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/ccutil
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/classify
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/cutil
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/dict
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/display
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/lstm
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/textord
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/viewer
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/wordrec
|
||||
AM_CPPFLAGS += -I$(top_builddir)/src/api
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/api
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/arch
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/ccmain
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/ccstruct
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/ccutil
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/classify
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/cutil
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/dict
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/display
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/lstm
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/textord
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/viewer
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/wordrec
|
||||
|
||||
# Build googletest:
|
||||
check_LTLIBRARIES = libgtest.la libgtest_main.la
|
||||
@ -33,7 +33,7 @@ libgtest_main_la_SOURCES = ../googletest/googletest/src/gtest_main.cc
|
||||
|
||||
# Build unittests
|
||||
GTEST_LIBS = libgtest.la libgtest_main.la
|
||||
TESS_LIBS = $(top_builddir)/api/libtesseract.la
|
||||
TESS_LIBS = $(top_builddir)/src/api/libtesseract.la
|
||||
AM_CPPFLAGS += -isystem $(top_srcdir)/googletest/googletest/include
|
||||
|
||||
check_PROGRAMS = \
|
||||
|
Loading…
Reference in New Issue
Block a user