summaryrefslogtreecommitdiff
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-07 07:44:12 -0400
committerBrad King <brad.king@kitware.com>2009-07-07 07:44:12 -0400
commita60846718048e33db01e7993ba7d6fa994e0c8b5 (patch)
tree6bac297b484b07daa28e5c320848a7d0ea0f2e03 /Source/cmTarget.h
parent6ec20cc3f9cddcb7c817a29874bb0fb0c6ab509b (diff)
downloadcmake-a60846718048e33db01e7993ba7d6fa994e0c8b5.tar.gz
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/cmTarget.h')
-rw-r--r--Source/cmTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index fabf7cf658..a3e2439462 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -301,7 +301,7 @@ public:
bool FindSourceFiles();
///! Return the prefered linker language for this target
- const char* GetLinkerLanguage(cmGlobalGenerator*);
+ const char* GetLinkerLanguage();
///! Return the rule variable used to create this type of target,
// need to add CMAKE_(LANG) for full name.