diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-05 15:47:24 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-12-05 14:52:42 +0000 |
commit | f4e80ea688cd1b35b35d8247f819b047517f4cdc (patch) | |
tree | aa23e5940ce702c84f7b77ba6b0b4df7b1cf48a5 /cmake | |
parent | 0f220d473a6048c0f1267a96ed5cc18fa39ee61c (diff) | |
download | qtbase-f4e80ea688cd1b35b35d8247f819b047517f4cdc.tar.gz |
Clear QT_KNOWN_MODULE_${module}_TOOLS cache vars on reconfiguration
Otherwise if you configured a commit that has tool A, and the switch
to a commit where tool A does not exist anymore, reconfiguration
will fail.
Change-Id: Ibb244b9630a6f4fecd27d51ce28eceff07ba8666
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtBuild.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index cf4e56ca19..fa71968ae1 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -212,6 +212,8 @@ macro(qt_internal_append_known_modules_with_tools module) if(NOT ${module} IN_LIST QT_KNOWN_MODULES_WITH_TOOLS) set(QT_KNOWN_MODULES_WITH_TOOLS "${QT_KNOWN_MODULES_WITH_TOOLS};${module}" CACHE INTERNAL "Known Qt modules with tools" FORCE) + set(QT_KNOWN_MODULE_${module}_TOOLS "" + CACHE INTERNAL "Known Qt module ${module} tools" FORCE) endif() endmacro() |