|
@@ -263,10 +263,10 @@ void cmNinjaNormalTargetGenerator::WriteNvidiaDeviceLinkRule(
|
|
|
vars.LanguageCompileFlags = "$LANGUAGE_COMPILE_FLAGS";
|
|
|
|
|
|
std::string launcher;
|
|
|
- cmValue val = this->GetLocalGenerator()->GetRuleLauncher(
|
|
|
- this->GetGeneratorTarget(), "RULE_LAUNCH_LINK");
|
|
|
+ std::string val = this->GetLocalGenerator()->GetRuleLauncher(
|
|
|
+ this->GetGeneratorTarget(), "RULE_LAUNCH_LINK", config);
|
|
|
if (cmNonempty(val)) {
|
|
|
- launcher = cmStrCat(*val, ' ');
|
|
|
+ launcher = cmStrCat(val, ' ');
|
|
|
}
|
|
|
|
|
|
std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander(
|
|
@@ -458,10 +458,10 @@ void cmNinjaNormalTargetGenerator::WriteLinkRule(bool useResponseFile,
|
|
|
}
|
|
|
|
|
|
std::string launcher;
|
|
|
- cmValue val = this->GetLocalGenerator()->GetRuleLauncher(
|
|
|
- this->GetGeneratorTarget(), "RULE_LAUNCH_LINK");
|
|
|
+ std::string val = this->GetLocalGenerator()->GetRuleLauncher(
|
|
|
+ this->GetGeneratorTarget(), "RULE_LAUNCH_LINK", config);
|
|
|
if (cmNonempty(val)) {
|
|
|
- launcher = cmStrCat(*val, ' ');
|
|
|
+ launcher = cmStrCat(val, ' ');
|
|
|
}
|
|
|
|
|
|
std::unique_ptr<cmRulePlaceholderExpander> rulePlaceholderExpander(
|