forked from qt-creator/qt-creator
CMakePM: Silence soft assert
sdktool writes its installed CMake path using Windows style path separators when running on Windows. Change-Id: Ic030d96b7cb2bc331032511a966865b55089e5ee Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -120,7 +120,7 @@ CMakeTool::CMakeTool(const Store &map, bool fromSdk) :
|
||||
m_isAutoDetected = map.value(CMAKE_INFORMATION_AUTODETECTED, false).toBool();
|
||||
m_detectionSource = map.value(CMAKE_INFORMATION_DETECTIONSOURCE).toString();
|
||||
|
||||
setFilePath(FilePath::fromString(map.value(CMAKE_INFORMATION_COMMAND).toString()));
|
||||
setFilePath(FilePath::fromUserInput(map.value(CMAKE_INFORMATION_COMMAND).toString()));
|
||||
|
||||
m_qchFilePath = FilePath::fromSettings(map.value(CMAKE_INFORMATION_QCH_FILE_PATH));
|
||||
|
||||
|
Reference in New Issue
Block a user