vcpkg/ports/leptonica/use-tiff-libraries.patch
2019-07-21 23:47:33 -07:00

14 lines
504 B
Diff

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})