diff options
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 546aabe..a001f6d 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1911,7 +1911,7 @@ cmGlobalGenerator::AddTargetDepends(cmTarget* target, for(cmGlobalGenerator::TargetDependSet::const_iterator i = tset.begin(); i != tset.end(); ++i) { - cmTarget* dtarget = const_cast<cmTarget*>(*i); + cmTarget* dtarget = *i; this->AddTargetDepends(dtarget, projectTargets); } } |