forked from qt-creator/qt-creator
CMake: Fix inverted logic bug
This was introduced by d5383c92a8
Change-Id: I88736c14d4dc811b2b375ee2a9b97d3114524d01
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -291,7 +291,7 @@ void BuildDirManager::parse(int reparseParameters)
|
||||
|
||||
TaskHub::clearTasks(ProjectExplorer::Constants::TASK_CATEGORY_BUILDSYSTEM);
|
||||
|
||||
if (m_parameters.workDirectory.toFileInfo().exists("CMakeCache.txt")) {
|
||||
if (!m_parameters.workDirectory.toFileInfo().exists("CMakeCache.txt")) {
|
||||
reparseParameters |= REPARSE_FORCE_CONFIGURATION | REPARSE_FORCE_CMAKE_RUN;
|
||||
} else if (reparseParameters & REPARSE_CHECK_CONFIGURATION) {
|
||||
if (checkConfiguration())
|
||||
|
Reference in New Issue
Block a user