summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-16 18:09:43 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-17 15:30:37 (GMT)
commitb857f0d84b539056bc6a810161eb22e9b9baca43 (patch)
tree59240cbfca43ef414c6c3fd1386d8cb7044b39b7 /Source/cmLocalGenerator.cxx
parented09f3b292bee34e8b30204c93ef5596a3124d00 (diff)
downloadCMake-b857f0d84b539056bc6a810161eb22e9b9baca43.zip
CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.gz
CMake-b857f0d84b539056bc6a810161eb22e9b9baca43.tar.bz2
Use GetName from cmGeneratorTarget.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index c37f797..d457e9c 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1421,7 +1421,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs,
{
cmSystemTools::Error
("CMake can not determine linker language for target: ",
- target->Target->GetName().c_str());
+ target->GetName().c_str());
return;
}
this->AddLanguageFlags(flags, linkLanguage, buildType);