forked from qt-creator/qt-creator
CMakePM: Silence soft assert
Amends 04b9c08153.
Change-Id: I7de369307a68ed2f243ccf40ab8ffa435f808aca
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -949,7 +949,7 @@ static void markCMakeModulesFromPrefixPathAsGenerated(FileApiQtcData &result)
|
|||||||
for (const QByteArray var : {"CMAKE_PREFIX_PATH", "CMAKE_FIND_ROOT_PATH"}) {
|
for (const QByteArray var : {"CMAKE_PREFIX_PATH", "CMAKE_FIND_ROOT_PATH"}) {
|
||||||
const QStringList pathList = result.cache.stringValueOf(var).split(";");
|
const QStringList pathList = result.cache.stringValueOf(var).split(";");
|
||||||
for (const QString &path : pathList)
|
for (const QString &path : pathList)
|
||||||
paths.insert(FilePath::fromString(path));
|
paths.insert(FilePath::fromUserInput(path));
|
||||||
}
|
}
|
||||||
return paths;
|
return paths;
|
||||||
}();
|
}();
|
||||||
|
|||||||
Reference in New Issue
Block a user