diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 9e18a58bab..c9885aeb36 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1650,6 +1650,9 @@ void cmLocalUnixMakefileGenerator3 cmLocalGenerator::SHELL); runRule += " 1"; commands.push_back(runRule); + this->CreateCDCommand(commands, + this->Makefile->GetHomeOutputDirectory(), + this->Makefile->GetStartOutputDirectory()); this->WriteMakeRule(ruleFileStream, "clear depends", "depend", depends, commands, true);