CMake: Set up environment for cmake correctly

Task-Nr: QTCREATORBUG-1130
This commit is contained in:
dt
2010-09-13 14:09:46 +01:00
parent b4bd5449f6
commit 0bd7214e19
2 changed files with 10 additions and 0 deletions

View File

@@ -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
*/