summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-25 11:33:38 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:24 (GMT)
commitd566f39a640297114bd3ad933bb3279440b2f38f (patch)
tree41024310e72013dfd22b652cb2aa3078e38025fa /Source/cmGlobalGenerator.cxx
parent0c97d32f7a592a768d614c19b3fd48eab245a2c4 (diff)
downloadCMake-d566f39a640297114bd3ad933bb3279440b2f38f.zip
CMake-d566f39a640297114bd3ad933bb3279440b2f38f.tar.gz
CMake-d566f39a640297114bd3ad933bb3279440b2f38f.tar.bz2
cmGlobalGenerator: Remove unneeded GetGeneratorTarget
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index e33e942..215d63f 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2244,8 +2244,7 @@ cmGlobalGenerator::NameResolvesToFramework(const std::string& libname) const
if(cmTarget* tgt = this->FindTarget(libname))
{
- cmGeneratorTarget* gt = this->GetGeneratorTarget(tgt);
- if(gt->IsFrameworkOnApple())
+ if(tgt->IsFrameworkOnApple())
{
return true;
}