diff options
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 01c587a..3437d22 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -635,7 +635,7 @@ cmGlobalXCodeGenerator::CreateXCodeFileReference(cmSourceFile* sf, } else if(ext == "h" || ext == "hxx" || ext == "hpp") { - const char* linkLanguage = cmtarget.GetLinkerLanguage(this); + const char* linkLanguage = cmtarget.GetLinkerLanguage(); if(linkLanguage && (std::string(linkLanguage) == "CXX")) { sourcecode += ".cpp.h"; @@ -1382,7 +1382,7 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, bool shared = ((target.GetType() == cmTarget::SHARED_LIBRARY) || (target.GetType() == cmTarget::MODULE_LIBRARY)); - const char* lang = target.GetLinkerLanguage(this); + const char* lang = target.GetLinkerLanguage(); std::string cflags; if(lang) { |