Take the build environment into account for searching what to execute.

Fixes a bug where the cmake plugin wasn't finding make, if the make
commands directory was added to path in the build environment.
This commit is contained in:
dt
2009-09-07 18:58:04 +02:00
parent 61ed06d58e
commit e58ff77bd3
2 changed files with 8 additions and 2 deletions

View File

@@ -500,7 +500,7 @@ void CMakeProject::setUserEnvironmentChanges(const QString &buildConfig, const Q
QStringList list = EnvironmentItem::toStringList(diff);
if (list == value(buildConfig, "userEnvironmentChanges"))
return;
setValue(buildConfig, "userEnvironmentChanges", EnvironmentItem::toStringList(diff));
setValue(buildConfig, "userEnvironmentChanges", list);
emit environmentChanged(buildConfig);
}