forked from qt-creator/qt-creator
CMake: Set up environment for cmake correctly
Task-Nr: QTCREATORBUG-1130
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user