diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:40 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:40 (GMT) |
commit | 1ab59f688f647abe1bc0b5e7a187ec0bac988e0f (patch) | |
tree | 890560d9d32e7abe8d5ac92483f75840f7d1e78c /Source | |
parent | 87b869c1da77f673f6397eff48b09cfb5f44f5f9 (diff) | |
download | CMake-1ab59f688f647abe1bc0b5e7a187ec0bac988e0f.zip CMake-1ab59f688f647abe1bc0b5e7a187ec0bac988e0f.tar.gz CMake-1ab59f688f647abe1bc0b5e7a187ec0bac988e0f.tar.bz2 |
cmGlobalNinjaGenerator: Simplify usage of API.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index d24cce8..5bdd35f 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -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; |