mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-16 18:46:35 +08:00
[tesseract] Link executable to libarchive to fix linker error (#27307)
* [tesseract] link exe to libarchive to fix link error * ./vcpkg x-add-version --all * address comments * ./vcpkg x-add-version --all --overwrite-version
This commit is contained in:
parent
f103104efc
commit
455d8d85e0
@ -1,3 +1,5 @@
|
|||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index bd2649d..c1801a6 100644
|
||||||
--- a/CMakeLists.txt
|
--- a/CMakeLists.txt
|
||||||
+++ b/CMakeLists.txt
|
+++ b/CMakeLists.txt
|
||||||
@@ -792,7 +792,8 @@ if(OpenCL_FOUND)
|
@@ -792,7 +792,8 @@ if(OpenCL_FOUND)
|
||||||
@ -10,3 +12,12 @@
|
|||||||
endif(LibArchive_FOUND)
|
endif(LibArchive_FOUND)
|
||||||
if(CURL_FOUND)
|
if(CURL_FOUND)
|
||||||
if(NOT CURL_LIBRARIES)
|
if(NOT CURL_LIBRARIES)
|
||||||
|
@@ -854,7 +855,7 @@ endif()
|
||||||
|
# ##############################################################################
|
||||||
|
|
||||||
|
add_executable(tesseract src/tesseract.cpp)
|
||||||
|
-target_link_libraries(tesseract libtesseract)
|
||||||
|
+target_link_libraries(tesseract libtesseract LibArchive::LibArchive)
|
||||||
|
if(HAVE_TIFFIO_H AND WIN32)
|
||||||
|
target_link_libraries(tesseract ${TIFF_LIBRARIES})
|
||||||
|
endif()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "tesseract",
|
"name": "tesseract",
|
||||||
"version": "5.2.0",
|
"version": "5.2.0",
|
||||||
"port-version": 2,
|
"port-version": 3,
|
||||||
"description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.",
|
"description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.",
|
||||||
"homepage": "https://github.com/tesseract-ocr/tesseract",
|
"homepage": "https://github.com/tesseract-ocr/tesseract",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@ -7302,7 +7302,7 @@
|
|||||||
},
|
},
|
||||||
"tesseract": {
|
"tesseract": {
|
||||||
"baseline": "5.2.0",
|
"baseline": "5.2.0",
|
||||||
"port-version": 2
|
"port-version": 3
|
||||||
},
|
},
|
||||||
"tfhe": {
|
"tfhe": {
|
||||||
"baseline": "1.0.1",
|
"baseline": "1.0.1",
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "106efd2adc79ebdcf63488c2cc930b035f01535d",
|
||||||
|
"version": "5.2.0",
|
||||||
|
"port-version": 3
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "9d9b7d5ba2e222ee4fb62d4d5f03992e9232a97d",
|
"git-tree": "9d9b7d5ba2e222ee4fb62d4d5f03992e9232a97d",
|
||||||
"version": "5.2.0",
|
"version": "5.2.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user