cmGlobalGenerator: Remove unneeded GetGeneratorTarget

This commit is contained in:
Stephen Kelly 2015-10-25 12:33:38 +01:00
parent 0c97d32f7a
commit d566f39a64
1 changed files with 1 additions and 2 deletions

View File

@ -2244,8 +2244,7 @@ cmGlobalGenerator::NameResolvesToFramework(const std::string& libname) const
if(cmTarget* tgt = this->FindTarget(libname)) if(cmTarget* tgt = this->FindTarget(libname))
{ {
cmGeneratorTarget* gt = this->GetGeneratorTarget(tgt); if(tgt->IsFrameworkOnApple())
if(gt->IsFrameworkOnApple())
{ {
return true; return true;
} }