mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
Added CMake option to use system ICU library
This commit is contained in:
parent
7afa05a03e
commit
d171488e21
@ -11,7 +11,7 @@ if (CPPAN_BUILD)
|
||||
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)
|
||||
|
||||
@ -56,7 +56,7 @@ endif()
|
||||
# experimental
|
||||
|
||||
if (NOT CPPAN_BUILD)
|
||||
find_package(ICU COMPONENTS uc i18n)
|
||||
find_package(ICU COMPONENTS uc i18n)
|
||||
endif()
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user