vcpkg/ports/tesseract/use-vcpkg-icu.patch

12 lines
307 B
Diff
Raw Normal View History

2017-08-17 08:02:09 +08:00
--- a/training/CMakeLists.txt Thu Aug 17 02:46:15 2017
+++ b/training/CMakeLists.txt Thu Aug 17 02:46:15 2017
@@ -11,7 +11,7 @@
endif()
# experimental
-if (MSVC AND NOT CPPAN_BUILD)
+if (MSVC AND NOT CPPAN_BUILD AND NOT USE_SYSTEM_ICU)
include(CheckTypeSize)
check_type_size("void *" SIZEOF_VOID_P)