mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 12:49:35 +08:00
cmake: fix tiff linking to executable if tiffio.h is found
This commit is contained in:
parent
0f1e13a859
commit
c69ee9af24
@ -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()
|
||||
|
||||
########################################
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user