summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-05-19 11:08:40 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-05-19 13:29:57 +0200
commit3dc3c0e2b66eb452cfde2c0702295dc6806a51fa (patch)
tree6822398f9f16bf8a55666263a60c478c17586706 /cmake
parenta12d28f46765bd90a040a297ef50ce4d09d9ab64 (diff)
CMake: Append to QT_CONFIG in the qt_lib_XXX.pri files
The module pri files are supposed to add their public features to the global QT_CONFIG variable. Change-Id: I9a1719f897747a1d89011b1f1231c05a23539def Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuild.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index a2c8c7b766..eda5d9ff74 100644
--- a/cmake/QtBuild.cmake
+++ b/cmake/QtBuild.cmake
@@ -781,6 +781,7 @@ QT.${config_module_name}.module_config = ${joined_module_internal_config}
QT.${config_module_name}.DEFINES = QT_${module_define}_LIB
QT.${config_module_name}.enabled_features = ${enabled_features}
QT.${config_module_name}.disabled_features = ${disabled_features}${module_build_config}
+QT_CONFIG += ${enabled_features}
QT_MODULES += ${config_module_name}
"
)