Skip to content

Commit

Permalink
Fix use of unsupported glob/globfree functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robyer committed Jan 26, 2019
1 parent ebe295f commit 7852e08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tesseract4android/src/main/cpp/tesseract/CMakeLists.txt
Expand Up @@ -59,6 +59,11 @@ file(GLOB tesseract_hdr
${TESS_PATH}wordrec/*.h
)

# Explicitly remove some unwanted files
# Remove fileio as it contains unsupported glob/globfree functions and is used only for training anyway
list(REMOVE_ITEM tesseract_src "${CMAKE_CURRENT_SOURCE_DIR}/${TESS_PATH}ccutil/fileio.cpp")
list(REMOVE_ITEM tesseract_hdr "${CMAKE_CURRENT_SOURCE_DIR}/${TESS_PATH}ccutil/fileio.h")

add_library( # Sets the name of the library.
tesseract

Expand Down

0 comments on commit 7852e08

Please sign in to comment.