vcpkg/ports/leptonica/use-tiff-libraries.patch

14 lines
504 B
Diff
Raw Normal View History

2019-07-22 14:47:33 +08:00
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})