BUG: fix for broken borland compiler

This commit is contained in:
Bill Hoffman 2006-11-10 08:11:37 -05:00
parent 6b2cc486ee
commit 3b7005c554
1 changed files with 3 additions and 2 deletions

View File

@ -604,8 +604,9 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
l != targets.end(); l++) l != targets.end(); l++)
{ {
cmTarget& target = l->second; cmTarget& target = l->second;
if(target.GetUtilities().find(targetIn->GetName()) != std::set<cmStdString>::const_iterator i =
target.GetUtilities().end()) target.GetUtilities().find(targetIn->GetName());
if(i != target.GetUtilities().end())
{ {
return true; return true;
} }