cmake: add minimum required version for pango and icu based on autotools

This commit is contained in:
zdenop 2019-10-19 15:00:49 +02:00
parent 99645e3c40
commit f9d1bda7e3

View File

@ -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)