diff --git a/CMakeLists.txt b/CMakeLists.txt index 982cb10e..d426ffcf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -449,6 +449,7 @@ if (DISABLED_LEGACY_ENGINE) src/classify/shapetable.cpp src/classify/tessclassifier.cpp src/classify/trainingsample.cpp + src/dict/permdawg.cpp src/dict/hyphen.cpp src/wordrec/associate.cpp src/wordrec/chop.cpp diff --git a/Makefile.am b/Makefile.am index aa935fd1..54674f14 100644 --- a/Makefile.am +++ b/Makefile.am @@ -488,11 +488,11 @@ libtesseract_la_SOURCES += src/dict/context.cpp libtesseract_la_SOURCES += src/dict/dawg.cpp libtesseract_la_SOURCES += src/dict/dawg_cache.cpp libtesseract_la_SOURCES += src/dict/dict.cpp -libtesseract_la_SOURCES += src/dict/permdawg.cpp libtesseract_la_SOURCES += src/dict/stopper.cpp libtesseract_la_SOURCES += src/dict/trie.cpp if !DISABLED_LEGACY_ENGINE libtesseract_la_SOURCES += src/dict/hyphen.cpp +libtesseract_la_SOURCES += src/dict/permdawg.cpp endif # Rules for src/lstm.