mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
ENH: Pass config to cmTarget::GetLinkerLanguage
This passes the build configuration to most GetLinkerLanguage calls. In the future the linker language will account for targets linked in each configuration.
This commit is contained in:
@@ -178,7 +178,8 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
|
||||
cmLocalGenerator::SHELL);
|
||||
|
||||
// Get the language to use for linking this executable.
|
||||
const char* linkLanguage = this->Target->GetLinkerLanguage();
|
||||
const char* linkLanguage =
|
||||
this->Target->GetLinkerLanguage(this->ConfigName);
|
||||
|
||||
// Make sure we have a link language.
|
||||
if(!linkLanguage)
|
||||
|
||||
Reference in New Issue
Block a user