vcpkg/ports/tesseract/leptonica.patch
2018-05-26 23:05:37 +02:00

14 lines
479 B
Diff

diff --git a/cmake/templates/TesseractConfig.cmake.in b/cmake/templates/TesseractConfig.cmake.in
index 13838361..245ca2bc 100644
--- a/cmake/templates/TesseractConfig.cmake.in
+++ b/cmake/templates/TesseractConfig.cmake.in
@@ -21,6 +21,8 @@
include(${CMAKE_CURRENT_LIST_DIR}/TesseractTargets.cmake)
+find_package(Leptonica REQUIRED)
+
# ======================================================
# Version variables:
# ======================================================