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>
This commit is contained in:
parent
0f220d473a
commit
f4e80ea688
@ -212,6 +212,8 @@ macro(qt_internal_append_known_modules_with_tools module)
|
|||||||
if(NOT ${module} IN_LIST QT_KNOWN_MODULES_WITH_TOOLS)
|
if(NOT ${module} IN_LIST QT_KNOWN_MODULES_WITH_TOOLS)
|
||||||
set(QT_KNOWN_MODULES_WITH_TOOLS "${QT_KNOWN_MODULES_WITH_TOOLS};${module}"
|
set(QT_KNOWN_MODULES_WITH_TOOLS "${QT_KNOWN_MODULES_WITH_TOOLS};${module}"
|
||||||
CACHE INTERNAL "Known Qt modules with tools" FORCE)
|
CACHE INTERNAL "Known Qt modules with tools" FORCE)
|
||||||
|
set(QT_KNOWN_MODULE_${module}_TOOLS ""
|
||||||
|
CACHE INTERNAL "Known Qt module ${module} tools" FORCE)
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user