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)
|
dep != (*source)->GetDepends().end(); ++dep)
|
||||||
{
|
{
|
||||||
std::string dependfile =
|
std::string dependfile =
|
||||||
this->ConvertToOutputPath(dep->c_str());
|
this->ConvertToOutputPath(cmSystemTools::CollapseFullPath(dep->c_str()).c_str());
|
||||||
if(emitted.insert(dependfile).second)
|
if(emitted.insert(dependfile).second)
|
||||||
{
|
{
|
||||||
fout << " \\\n" << dependfile ;
|
fout << " \\\n" << dependfile ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user