aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <lirui09@beyondsoft.com>2019-12-09 22:06:52 -0800
committerNancyLi1013 <lirui09@beyondsoft.com>2019-12-09 22:10:03 -0800
commit32860b3d8edc2a8ee1c15d321df0d5e09c3e6068 (patch)
treeb3922d7fdd3d242d4a6e8c2f4ff786c38616a99a
parentad2b1d316d32422e019a515d7d55b6a6f1b85b1d (diff)
downloadvcpkg-32860b3d8edc2a8ee1c15d321df0d5e09c3e6068.tar.gz
vcpkg-32860b3d8edc2a8ee1c15d321df0d5e09c3e6068.zip
Update text2image patch
-rw-r--r--ports/tesseract/fix-text2image.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/tesseract/fix-text2image.patch b/ports/tesseract/fix-text2image.patch
index c1be12f8e..d7ee74507 100644
--- a/ports/tesseract/fix-text2image.patch
+++ b/ports/tesseract/fix-text2image.patch
@@ -7,7 +7,7 @@ index 8fd96a9..186341e 100644
if (NOT CPPAN_BUILD)
- find_package(ICU COMPONENTS uc i18n)
-+ find_package(ICU COMPONENTS i18n uc)
++ find_package(ICU REQUIRED COMPONENTS i18n uc)
endif()
########################################
@@ -16,7 +16,7 @@ index 8fd96a9..186341e 100644
)
add_library (unicharset_training ${unicharset_training_src})
+if(UNIX)
-+list(APPEND ICU_LIBRARIES -ldl)
++ list(APPEND ICU_LIBRARIES -ldl)
+endif()
if (NOT CPPAN_BUILD)
target_link_libraries (unicharset_training common_training ${ICU_LIBRARIES})