forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user