mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-10 23:43:58 +03:00
cmGlobalGenerator: Remove unneeded GetGeneratorTarget
This commit is contained in:
1 parent
0c97d32f7a
commit
d566f39a64
1 file changed
+1
-2
@@ -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