Skip to content
Snippets Groups Projects
Commit 0bd7214e authored by dt's avatar dt
Browse files

CMake: Set up environment for cmake correctly

Task-Nr: QTCREATORBUG-1130
parent b4bd5449
No related branches found
No related tags found
No related merge requests found
......@@ -169,6 +169,14 @@ ProjectExplorer::IOutputParser *CMakeBuildConfiguration::createOutputParser() co
return 0;
}
Utils::Environment CMakeBuildConfiguration::baseEnvironment() const
{
Utils::Environment env = BuildConfiguration::baseEnvironment();
if (m_toolChain)
m_toolChain->addToEnvironment(env);
return env;
}
/*!
\class CMakeBuildConfigurationFactory
*/
......
......@@ -64,6 +64,8 @@ public:
ProjectExplorer::IOutputParser *createOutputParser() const;
Utils::Environment baseEnvironment() const;
signals:
void msvcVersionChanged();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment