Skip to content

Commit fdb575d

Browse files
committed
Use Tesseract_INCLUDE_DIRS instead of Tesseract_INCLUDE_DIR
1 parent 29f61bf commit fdb575d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/text/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if(NOT CMAKE_CROSSCOMPILING OR OPENCV_FIND_TESSERACT)
77
if(Tesseract_FOUND)
88
message(STATUS "Tesseract: YES")
99
set(HAVE_TESSERACT 1)
10-
ocv_include_directories(${Tesseract_INCLUDE_DIR})
10+
ocv_include_directories(${Tesseract_INCLUDE_DIRS})
1111
ocv_target_link_libraries(${the_module} ${Tesseract_LIBRARIES})
1212
else()
1313
message(STATUS "Tesseract: NO")

0 commit comments

Comments
 (0)