summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-10 13:11:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-10 13:11:37 (GMT)
commit3b7005c55415c57dd921d87bda2a2f278dcc399c (patch)
tree51964ccb10bfdb5fcd069b46bb721e3aaff98d11
parent6b2cc486eeba5a77b72c91cc8c69fe63108863cf (diff)
downloadCMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.zip
CMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.tar.gz
CMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.tar.bz2
BUG: fix for broken borland compiler
-rw-r--r--Source/cmGlobalGenerator.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 130005f..29f2bf2 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -604,8 +604,9 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
l != targets.end(); l++)
{
cmTarget& target = l->second;
- if(target.GetUtilities().find(targetIn->GetName()) !=
- target.GetUtilities().end())
+ std::set<cmStdString>::const_iterator i =
+ target.GetUtilities().find(targetIn->GetName());
+ if(i != target.GetUtilities().end())
{
return true;
}