Skip to content

Commit

Permalink
Use Tesseract_INCLUDE_DIRS instead of Tesseract_INCLUDE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrapha committed Jan 8, 2019
1 parent 29f61bf commit fdb575d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/text/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT CMAKE_CROSSCOMPILING OR OPENCV_FIND_TESSERACT)
if(Tesseract_FOUND)
message(STATUS "Tesseract: YES")
set(HAVE_TESSERACT 1)
ocv_include_directories(${Tesseract_INCLUDE_DIR})
ocv_include_directories(${Tesseract_INCLUDE_DIRS})
ocv_target_link_libraries(${the_module} ${Tesseract_LIBRARIES})
else()
message(STATUS "Tesseract: NO")
Expand Down

0 comments on commit fdb575d

Please sign in to comment.