vcpkg/ports/tesseract/leptonica.patch

14 lines
479 B
Diff
Raw Normal View History

2018-05-27 05:05:37 +08:00
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:
# ======================================================