summaryrefslogtreecommitdiff
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-16 20:09:43 +0200
committerStephen Kelly <steveire@gmail.com>2015-10-17 17:30:37 +0200
commitb857f0d84b539056bc6a810161eb22e9b9baca43 (patch)
tree59240cbfca43ef414c6c3fd1386d8cb7044b39b7 /Source/cmMakefileExecutableTargetGenerator.cxx
parented09f3b292bee34e8b30204c93ef5596a3124d00 (diff)
downloadcmake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.gz
Use GetName from cmGeneratorTarget.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index ea910953dc..433af7ea1b 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -168,7 +168,7 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
if(linkLanguage.empty())
{
cmSystemTools::Error("Cannot determine link language for target \"",
- this->Target->GetName().c_str(), "\".");
+ this->GeneratorTarget->GetName().c_str(), "\".");
return;
}