mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Fix broken autotools build for unittest
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
615a224c56
commit
19213e23a0
@ -815,7 +815,6 @@ noinst_HEADERS += src/training/pango/stringrenderer.h
|
||||
noinst_HEADERS += src/training/tessopt.h
|
||||
noinst_HEADERS += src/training/pango/tlog.h
|
||||
noinst_HEADERS += src/training/unicharset/unicharset_training_utils.h
|
||||
noinst_HEADERS += src/training/util.h
|
||||
noinst_HEADERS += src/training/unicharset/validate_grapheme.h
|
||||
noinst_HEADERS += src/training/unicharset/validate_indic.h
|
||||
noinst_HEADERS += src/training/unicharset/validate_javanese.h
|
||||
|
@ -29,6 +29,9 @@ AM_CPPFLAGS += -DPANGO_ENABLE_ENGINE
|
||||
if DISABLED_LEGACY_ENGINE
|
||||
AM_CPPFLAGS += -DDISABLED_LEGACY_ENGINE
|
||||
endif # DISABLED_LEGACY_ENGINE
|
||||
AM_CPPFLAGS += -DTESS_COMMON_TRAINING_API=
|
||||
AM_CPPFLAGS += -DTESS_PANGO_TRAINING_API=
|
||||
AM_CPPFLAGS += -DTESS_UNICHARSET_TRAINING_API=
|
||||
AM_CPPFLAGS += -I$(top_builddir)/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/include
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/arch
|
||||
@ -46,6 +49,9 @@ AM_CPPFLAGS += -I$(top_srcdir)/unittest/util
|
||||
AM_CPPFLAGS += $(LEPTONICA_CFLAGS)
|
||||
if ENABLE_TRAINING
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/training
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/training/common
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/training/pango
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/training/unicharset
|
||||
AM_CPPFLAGS += $(pangocairo_CFLAGS)
|
||||
endif # ENABLE_TRAINING
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/viewer
|
||||
|
Loading…
Reference in New Issue
Block a user