summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:47 (GMT)
commit62720e44be3e9f28e4c1e7d38206b2c51d34745e (patch)
tree7d6443b0bdb6589fa7ad935b34e7fc3a70553aa2 /Source/cmNinjaNormalTargetGenerator.cxx
parente27d737e27fbfc8cfde020ec02d6b2c74afb6885 (diff)
downloadCMake-62720e44be3e9f28e4c1e7d38206b2c51d34745e.zip
CMake-62720e44be3e9f28e4c1e7d38206b2c51d34745e.tar.gz
CMake-62720e44be3e9f28e4c1e7d38206b2c51d34745e.tar.bz2
cmGeneratorTarget: Move GetFullNameComponents from cmTarget.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index 2586b31..c80f485 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -569,7 +569,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
std::string prefix;
std::string base;
std::string suffix;
- target.GetFullNameComponents(prefix, base, suffix);
+ this->GetGeneratorTarget()->GetFullNameComponents(prefix, base, suffix);
std::string dbg_suffix = ".dbg";
// TODO: Where to document?
if (mf->GetDefinition("CMAKE_DEBUG_SYMBOL_SUFFIX"))