BUG: try to make sure a depend file only has one rule
This commit is contained in:
parent
75f9434374
commit
719a334f84
|
@ -1364,7 +1364,7 @@ void cmUnixMakefileGenerator::OutputCheckDepends(std::ostream& fout)
|
|||
dep != (*source)->GetDepends().end(); ++dep)
|
||||
{
|
||||
std::string dependfile =
|
||||
this->ConvertToOutputPath(dep->c_str());
|
||||
this->ConvertToOutputPath(cmSystemTools::CollapseFullPath(dep->c_str()).c_str());
|
||||
if(emitted.insert(dependfile).second)
|
||||
{
|
||||
fout << " \\\n" << dependfile ;
|
||||
|
|
Loading…
Reference in New Issue