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::STATIC_LIBRARY:
|
||||||
case cmTarget::MODULE_LIBRARY:
|
case cmTarget::MODULE_LIBRARY:
|
||||||
{
|
{
|
||||||
cmGeneratorTarget *gtgt = target->GetMakefile()->GetLocalGenerator()
|
cmGeneratorTarget *gtgt = this->GetGeneratorTarget(target);
|
||||||
->GetGlobalGenerator()
|
|
||||||
->GetGeneratorTarget(target);
|
|
||||||
outputs.push_back(ng->ConvertToNinjaPath(
|
outputs.push_back(ng->ConvertToNinjaPath(
|
||||||
gtgt->GetFullPath(configName, false, realname)));
|
gtgt->GetFullPath(configName, false, realname)));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue