summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 20:27:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:33:12 (GMT)
commit7f5ec9f109dc66bc22ac377a7fb57d9221aed56b (patch)
tree0adc08136e41c577aa436b4ce056a39fd5540fdb /Source/cmNinjaTargetGenerator.cxx
parent06f56d3bf5d8210d190e1bfcf05673ceb78c5594 (diff)
downloadCMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.zip
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.gz
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.bz2
cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx
index 4080d90..e26ce51 100644
--- a/Source/cmNinjaTargetGenerator.cxx
+++ b/Source/cmNinjaTargetGenerator.cxx
@@ -245,7 +245,7 @@ cmNinjaTargetGenerator
path += "/";
std::string const& objectName = this->GeneratorTarget
->GetObjectName(source);
- path += this->LocalGenerator->GetTargetDirectory(*this->Target);
+ path += this->LocalGenerator->GetTargetDirectory(this->GeneratorTarget);
path += "/";
path += objectName;
return path;