diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:09:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-17 15:30:37 (GMT) |
commit | b857f0d84b539056bc6a810161eb22e9b9baca43 (patch) | |
tree | 59240cbfca43ef414c6c3fd1386d8cb7044b39b7 /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | ed09f3b292bee34e8b30204c93ef5596a3124d00 (diff) | |
download | CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.zip CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.gz CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.bz2 |
Use GetName from cmGeneratorTarget.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index ea91095..433af7e 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; } |