cmGlobalNinjaGenerator: Simplify usage of API.
This commit is contained in:
parent
87b869c1da
commit
1ab59f688f
|
@ -911,9 +911,7 @@ cmGlobalNinjaGenerator
|
|||
case cmTarget::STATIC_LIBRARY:
|
||||
case cmTarget::MODULE_LIBRARY:
|
||||
{
|
||||
cmGeneratorTarget *gtgt = target->GetMakefile()->GetLocalGenerator()
|
||||
->GetGlobalGenerator()
|
||||
->GetGeneratorTarget(target);
|
||||
cmGeneratorTarget *gtgt = this->GetGeneratorTarget(target);
|
||||
outputs.push_back(ng->ConvertToNinjaPath(
|
||||
gtgt->GetFullPath(configName, false, realname)));
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue