aboutsummaryrefslogtreecommitdiff
path: root/ports/leptonica/use-tiff-libraries.patch
blob: 4db86ef7bb60cbfb1fff866b96644519b328f22c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6daad98..5119895 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -48,7 +48,7 @@ if (PNG_LIBRARY)
 endif()
 if (TIFF_LIBRARY)
     target_include_directories  (leptonica PUBLIC ${TIFF_INCLUDE_DIR})
-    target_link_libraries       (leptonica ${TIFF_LIBRARY})
+    target_link_libraries       (leptonica ${TIFF_LIBRARIES})
 endif()
 if (WEBP_FOUND)
     target_include_directories  (leptonica PUBLIC ${WEBP_INCLUDE_DIRS})