aboutsummaryrefslogtreecommitdiff
path: root/ports/tesseract/fix-tiff-linkage.patch
blob: f4720c02270dbfbd50d20675f947a35e6baf4473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f154663..c07b827 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -431,7 +431,7 @@ endif()
 add_executable                  (tesseract ${tesseractmain_src} ${tesseractmain_rsc})
 target_link_libraries           (tesseract libtesseract)
 if (HAVE_TIFFIO_H)
-    target_link_libraries(tesseract tiff)
+    target_link_libraries(tesseract TIFF::TIFF)
 endif()
 
 if (OPENMP_BUILD AND UNIX)