diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e67e0d8c0..bedf7d60ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -423,6 +423,9 @@ endif() add_executable (tesseract ${tesseractmain_src} ${tesseractmain_rsc}) target_link_libraries (tesseract libtesseract) +if (HAVE_TIFFIO_H) + target_link_libraries(tesseract tiff) +endif() ########################################