mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 15:20:56 -06:00
cmGlobalGenerator: Remove unneeded GetGeneratorTarget
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user