forked from qt-creator/qt-creator
CMakePM: Do not hang on renaming source files from file(GLOB)
Fixes: QTCREATORBUG-31016 Change-Id: I5b450cdb5a9af227ed058345adab1fc5b5a9043d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -985,7 +985,7 @@ bool CMakeBuildSystem::renameFile(Node *context,
|
||||
|
||||
// Try the next occurrence. This can happen if set_source_file_properties is used
|
||||
fileToRename = projectFileArgumentPosition(targetName, oldRelPathName);
|
||||
} while (fileToRename);
|
||||
} while (fileToRename && !fileToRename->fromGlobbing);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user