diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2019-08-12 14:42:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-12 14:42:45 -0700 |
| commit | 0e9d0cd89bf0bb13d24ef78ccf3a528215a5dc0b (patch) | |
| tree | b94c1f9b27a209f41c98bd731381dbdf2873c8c8 /ports/tesseract | |
| parent | 0f3b6fc1638c3c0bf33a560d1ab89215b7af02fd (diff) | |
| download | vcpkg-0e9d0cd89bf0bb13d24ef78ccf3a528215a5dc0b.tar.gz vcpkg-0e9d0cd89bf0bb13d24ef78ccf3a528215a5dc0b.zip | |
[tiff][tesseract][xerces-c] Disable unmanaged optional dependencies (#7622)
Diffstat (limited to 'ports/tesseract')
| -rw-r--r-- | ports/tesseract/CONTROL | 2 | ||||
| -rw-r--r-- | ports/tesseract/portfile.cmake | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/tesseract/CONTROL b/ports/tesseract/CONTROL index a31493e76..a24dd9435 100644 --- a/ports/tesseract/CONTROL +++ b/ports/tesseract/CONTROL @@ -1,5 +1,5 @@ Source: tesseract
-Version: 4.1.0-1
+Version: 4.1.0-2
Homepage: https://github.com/tesseract-ocr/tesseract
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
Build-Depends: leptonica
diff --git a/ports/tesseract/portfile.cmake b/ports/tesseract/portfile.cmake index e9c2ffa9f..08f581cfe 100644 --- a/ports/tesseract/portfile.cmake +++ b/ports/tesseract/portfile.cmake @@ -9,7 +9,7 @@ vcpkg_from_github( SHA512 d617f5c5b826640b2871dbe3d7973bcc5e66fafd837921a20e009d683806ed50f0f258aa455019d99fc54f5cb65c2fa0380e3a3c92b39ab0684b8799c730b09d PATCHES fix-tiff-linkage.patch - fix-text2image.patch + fix-text2image.patch ) # The built-in cmake FindICU is better @@ -38,9 +38,10 @@ vcpkg_configure_cmake( OPTIONS -DSTATIC=ON -DUSE_SYSTEM_ICU=True - #any value for vcpkg leptonica link cmake branch select - -DLeptonica_DIR=YES - ${OPTIONS_LIST} + -DCMAKE_DISABLE_FIND_PACKAGE_LibArchive=ON + -DCMAKE_DISABLE_FIND_PACKAGE_OpenCL=ON + -DLeptonica_DIR=YES + ${OPTIONS_LIST} ) vcpkg_install_cmake() |
