diff options
author | Brad King <brad.king@kitware.com> | 2009-07-07 11:44:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-07 11:44:12 (GMT) |
commit | a60846718048e33db01e7993ba7d6fa994e0c8b5 (patch) | |
tree | 6bac297b484b07daa28e5c320848a7d0ea0f2e03 /Source/cmLocalVisualStudio6Generator.cxx | |
parent | 6ec20cc3f9cddcb7c817a29874bb0fb0c6ab509b (diff) | |
download | CMake-a60846718048e33db01e7993ba7d6fa994e0c8b5.zip CMake-a60846718048e33db01e7993ba7d6fa994e0c8b5.tar.gz CMake-a60846718048e33db01e7993ba7d6fa994e0c8b5.tar.bz2 |
ENH: Simpler cmTarget::GetLinkerLanguage signature
This method previously required the global generator to be passed, but
that was left from before cmTarget had its Makefile member. Now the
global generator can be retrieved automatically, so we can drop the
method argument.
Diffstat (limited to 'Source/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index faf6792..c2b5a7c 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -1138,8 +1138,7 @@ void cmLocalVisualStudio6Generator if(targetBuilds) { // Get the language to use for linking. - const char* linkLanguage = - target.GetLinkerLanguage(this->GetGlobalGenerator()); + const char* linkLanguage = target.GetLinkerLanguage(); if(!linkLanguage) { cmSystemTools::Error @@ -1438,8 +1437,7 @@ void cmLocalVisualStudio6Generator if(target.GetType() >= cmTarget::EXECUTABLE && target.GetType() <= cmTarget::MODULE_LIBRARY) { - const char* linkLanguage = - target.GetLinkerLanguage(this->GetGlobalGenerator()); + const char* linkLanguage = target.GetLinkerLanguage(); if(!linkLanguage) { cmSystemTools::Error |