Fix endless recursion, broken somewhere in the buildconfiguration port

This commit is contained in:
dt
2009-11-30 14:53:58 +01:00
parent a741261f10
commit 70adf628f1

View File

@@ -194,7 +194,7 @@ ProjectExplorer::Environment CMakeRunConfiguration::baseEnvironment() const
} else if (m_baseEnvironmentBase == CMakeRunConfiguration::SystemEnvironmentBase) {
env = ProjectExplorer::Environment::systemEnvironment();
} else if (m_baseEnvironmentBase == CMakeRunConfiguration::BuildEnvironmentBase) {
env = environment();
env = project()->activeBuildConfiguration()->environment();
}
return env;
}