diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-10 13:11:37 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-11-10 13:11:37 (GMT) |
commit | 3b7005c55415c57dd921d87bda2a2f278dcc399c (patch) | |
tree | 51964ccb10bfdb5fcd069b46bb721e3aaff98d11 | |
parent | 6b2cc486eeba5a77b72c91cc8c69fe63108863cf (diff) | |
download | CMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.zip CMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.tar.gz CMake-3b7005c55415c57dd921d87bda2a2f278dcc399c.tar.bz2 |
BUG: fix for broken borland compiler
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 5 |
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; } |