BUG: fix issue with too many fast targets being listed

This commit is contained in:
Ken Martin 2006-05-18 14:35:44 -04:00
parent 29a03db7ce
commit 6580114309

View File

@ -651,6 +651,10 @@ cmGlobalUnixMakefileGenerator3
} }
else else
{ {
if(t->second.GetName() &&
strlen(t->second.GetName()) &&
emitted.insert(t->second.GetName()).second)
{
// Add a fast rule to build the target // Add a fast rule to build the target
depends.clear(); depends.clear();
commands.clear(); commands.clear();
@ -662,6 +666,7 @@ cmGlobalUnixMakefileGenerator3
} }
} }
} }
}
} }