Commit 3422e5cd authored by Tobias Hunger's avatar Tobias Hunger

CMake: Clean up more paths in server-mode

Change-Id: Ifd578cbc7516f66ad52cc13faca0ee733dbc7512
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent a7aeec22
......@@ -486,7 +486,7 @@ void ServerModeReader::extractCMakeInputsData(const QVariantMap &data)
const bool isCMake = section.value("isCMake").toBool();
for (const QString &s : sources) {
const FileName sfn = FileName::fromString(srcDir.absoluteFilePath(s));
const FileName sfn = FileName::fromString(QDir::cleanPath(srcDir.absoluteFilePath(s)));
const int oldCount = m_cmakeFiles.count();
m_cmakeFiles.insert(sfn);
if (!isCMake && oldCount < m_cmakeFiles.count())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment