Navigation Menu

Skip to content

Commit

Permalink
cmake: fix tiff linking to executable if tiffio.h is found
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenop committed May 24, 2019
1 parent 0f1e13a commit c69ee9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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()

########################################

Expand Down

0 comments on commit c69ee9a

Please sign in to comment.