summarylogtreecommitdiffstats
path: root/disable_tesseract.patch
blob: 90cde723fcd8d5b9c45b3adac469348e785a83f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/CMakeLists.txt	2024-05-28 16:34:50.078610446 +0200
+++ b/CMakeLists.txt	2024-05-28 16:35:48.411477615 +0200
@@ -107,12 +107,12 @@
   include_directories(SYSTEM ${LEPT_INCLUDEDIR})
 endif(LEPT_FOUND)
 
-pkg_check_modules(TESSERACT tesseract)
-if(TESSERACT_FOUND)
-  set(HAVE_TESSERACT_LIB 1)
-  set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${TESSERACT_LDFLAGS})
-  include_directories(SYSTEM ${TESSERACT_INCLUDEDIR})
-endif(TESSERACT_FOUND)
+#pkg_check_modules(TESSERACT tesseract)
+#if(TESSERACT_FOUND)
+#  set(HAVE_TESSERACT_LIB 1)
+#  set(K2PDFOPT_LIB ${K2PDFOPT_LIB} ${TESSERACT_LDFLAGS})
+#  include_directories(SYSTEM ${TESSERACT_INCLUDEDIR})
+#endif(TESSERACT_FOUND)
 
 # ---- Describe project