diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-25 11:33:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-27 06:44:24 (GMT) |
commit | d566f39a640297114bd3ad933bb3279440b2f38f (patch) | |
tree | 41024310e72013dfd22b652cb2aa3078e38025fa /Source | |
parent | 0c97d32f7a592a768d614c19b3fd48eab245a2c4 (diff) | |
download | CMake-d566f39a640297114bd3ad933bb3279440b2f38f.zip CMake-d566f39a640297114bd3ad933bb3279440b2f38f.tar.gz CMake-d566f39a640297114bd3ad933bb3279440b2f38f.tar.bz2 |
cmGlobalGenerator: Remove unneeded GetGeneratorTarget
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 3 |
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; } |