fix fontconfig detection

the "official" variable name is Fontconfig_FOUND
cf https://cmake.org/cmake/help/latest/module/FindFontconfig.html

Pick-to: 6.4 6.3 6.2
Change-Id: I40ec178a18baabe47d8d66845ff03add9efc0e51
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Eric Lemanissier 2022-10-05 08:42:56 +00:00
parent df6ba4bc16
commit 539165dae9
1 changed files with 1 additions and 1 deletions

View File

@ -669,7 +669,7 @@ qt_feature("system-freetype" PRIVATE
qt_feature("fontconfig" PUBLIC PRIVATE
LABEL "Fontconfig"
AUTODETECT NOT APPLE
CONDITION NOT WIN32 AND QT_FEATURE_system_freetype AND FONTCONFIG_FOUND
CONDITION NOT WIN32 AND QT_FEATURE_system_freetype AND Fontconfig_FOUND
)
qt_feature_definition("fontconfig" "QT_NO_FONTCONFIG" NEGATE VALUE "1")
qt_feature("gbm"