From 539165dae99d996746801da1cd8a09267cda3c42 Mon Sep 17 00:00:00 2001 From: Eric Lemanissier Date: Wed, 5 Oct 2022 08:42:56 +0000 Subject: [PATCH] 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 --- src/gui/configure.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 5c28f1ab3e..a0a258d878 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -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"