Skip to content

Commit c69ee9a

Browse files
committed
cmake: fix tiff linking to executable if tiffio.h is found
1 parent 0f1e13a commit c69ee9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ endif()
423423

424424
add_executable (tesseract ${tesseractmain_src} ${tesseractmain_rsc})
425425
target_link_libraries (tesseract libtesseract)
426+
if (HAVE_TIFFIO_H)
427+
target_link_libraries(tesseract tiff)
428+
endif()
426429

427430
########################################
428431

0 commit comments

Comments
 (0)