mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-12 23:49:06 +08:00
cmake: add minimum required version for pango and icu based on autotools
This commit is contained in:
parent
99645e3c40
commit
f9d1bda7e3
@ -56,7 +56,7 @@ endif()
|
||||
# experimental
|
||||
|
||||
if (NOT CPPAN_BUILD AND NOT SW_BUILD)
|
||||
find_package(ICU COMPONENTS uc i18n)
|
||||
find_package(ICU 52.1 COMPONENTS uc i18n)
|
||||
endif()
|
||||
|
||||
########################################
|
||||
@ -280,7 +280,7 @@ endif()
|
||||
if (PKG_CONFIG_FOUND OR CPPAN_BUILD OR SW_BUILD)
|
||||
|
||||
if (PKG_CONFIG_FOUND)
|
||||
pkg_check_modules(Pango REQUIRED pango)
|
||||
pkg_check_modules(Pango REQUIRED pango>=1.22.0)
|
||||
pkg_check_modules(Cairo REQUIRED cairo)
|
||||
pkg_check_modules(PangoFt2 REQUIRED pangoft2)
|
||||
pkg_check_modules(PangoCairo REQUIRED pangocairo)
|
||||
|
Loading…
Reference in New Issue
Block a user