Commit fdb575d4 authored by Raphael Graf's avatar Raphael Graf
Browse files

Use Tesseract_INCLUDE_DIRS instead of Tesseract_INCLUDE_DIR

parent 29f61bfc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")