diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:09:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-17 15:30:37 (GMT) |
commit | b857f0d84b539056bc6a810161eb22e9b9baca43 (patch) | |
tree | 59240cbfca43ef414c6c3fd1386d8cb7044b39b7 /Source/cmNinjaTargetGenerator.cxx | |
parent | ed09f3b292bee34e8b30204c93ef5596a3124d00 (diff) | |
download | CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.zip CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.gz CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.bz2 |
Use GetName from cmGeneratorTarget.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 0eba0b3..3d1579f 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -92,7 +92,7 @@ std::string cmNinjaTargetGenerator::LanguageCompilerRule( const std::string& lang) const { return lang + "_COMPILER__" + - cmGlobalNinjaGenerator::EncodeRuleName(this->Target->GetName()); + cmGlobalNinjaGenerator::EncodeRuleName(this->GeneratorTarget->GetName()); } std::string @@ -271,7 +271,7 @@ cmNinjaTargetGenerator std::string cmNinjaTargetGenerator::GetTargetName() const { - return this->Target->GetName(); + return this->GeneratorTarget->GetName(); } |