summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalNinjaGenerator.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/cmLocalNinjaGenerator.cxx
parent06f56d3bf5d8210d190e1bfcf05673ceb78c5594 (diff)
downloadCMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.zip
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.gz
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.bz2
cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalNinjaGenerator.cxx')
-rw-r--r--Source/cmLocalNinjaGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalNinjaGenerator.cxx b/Source/cmLocalNinjaGenerator.cxx
index 8d71469..71d3426 100644
--- a/Source/cmLocalNinjaGenerator.cxx
+++ b/Source/cmLocalNinjaGenerator.cxx
@@ -100,10 +100,10 @@ void cmLocalNinjaGenerator::Generate()
// TODO: Picked up from cmLocalUnixMakefileGenerator3. Refactor it.
std::string cmLocalNinjaGenerator
-::GetTargetDirectory(cmTarget const& target) const
+::GetTargetDirectory(cmGeneratorTarget const* target) const
{
std::string dir = cmake::GetCMakeFilesDirectoryPostSlash();
- dir += target.GetName();
+ dir += target->GetName();
#if defined(__VMS)
dir += "_dir";
#else