cmLocalGenerator: Fix AddBuildTargetRule object file path conversion

The object file list is constructed for a shell, not a Makefile rule.
This commit is contained in:
Brad King 2014-07-22 12:38:08 -04:00
parent 9f92a78be2
commit e7ee892b39
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ void cmLocalGenerator::AddBuildTargetRule(const std::string& llang,
objVector.push_back(ofname);
this->AddCustomCommandToCreateObject(ofname.c_str(),
llang, *(*i), target);
objs += this->Convert(ofname,START_OUTPUT,MAKERULE);
objs += this->Convert(ofname,START_OUTPUT,SHELL);
objs += " ";
}
}