summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-16 13:35:32 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-16 13:35:32 (GMT)
commita4f0b01939ca7c69c1e31f017c6e87b642388252 (patch)
treed89ce881010661abf4fa29151c541a90210a9717 /Source/cmNinjaTargetGenerator.cxx
parent2f1c3401ec132f0672c108a2312146f39e8f017b (diff)
parent7f5ec9f109dc66bc22ac377a7fb57d9221aed56b (diff)
downloadCMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.zip
CMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.tar.gz
CMake-a4f0b01939ca7c69c1e31f017c6e87b642388252.tar.bz2
Merge topic 'GetTargetDirectory-cmGeneratorTarget'
7f5ec9f1 cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget. 06f56d3b cmLocalUnixMakefileGenerator3: Port AppendCleanCommand to cmGeneratorTarget. c8f8f165 cmLocalUnixMakefileGenerator3: Port another API to cmGeneratorTarget. 9f299a12 cmLocalUnixMakefileGenerator3: Port API to cmGenertorTarget.
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;