forked from qt-creator/qt-creator
McuSupport: Fix compilation
Change-Id: I5cd32e709e635e3f09c5787e18d1141cac2ddf4c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -567,7 +567,7 @@ static void setKitEnvironment(ProjectExplorer::Kit *k, const McuTarget* mcuTarge
|
||||
if (Utils::HostOsInfo::isWindowsHost())
|
||||
pathAdditions.append(QDir::toNativeSeparators(Core::ICore::libexecPath())); // for jom
|
||||
pathAdditions.append(QDir::toNativeSeparators(Core::ICore::libexecPath() + "/clang/bin"));
|
||||
const QString path = Utils::HostOsInfo().isWindowsHost() ? "Path" : "PATH";
|
||||
const QString path = QLatin1String(Utils::HostOsInfo().isWindowsHost() ? "Path" : "PATH");
|
||||
changes.append({path, pathAdditions.join(Utils::HostOsInfo::pathListSeparator())});
|
||||
EnvironmentKitAspect::setEnvironmentChanges(k, changes);
|
||||
}
|
||||
|
Reference in New Issue
Block a user