Commit 8f358494 authored by con's avatar con
Browse files

Fix building with msvc.

Fixing 40ff6ab2
parent d3f97579
......@@ -318,9 +318,9 @@ void MSVCToolChain::addToEnvironment(ProjectExplorer::Environment &env)
QString desc;
QString varsbat;
if (m_amd64)
varsbat = path + "VC\\bin\\amd64\\vcvarsamd64.bat";
varsbat = path + "bin\\amd64\\vcvarsamd64.bat";
else
varsbat = path + "Common7\\Tools\\vsvars32.bat";
varsbat = path + "bin\\vcvars32.bat";
// qDebug() << varsbat;
if (QFileInfo(varsbat).exists()) {
QTemporaryFile tf(QDir::tempPath() + "\\XXXXXX.bat");
......
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