From bd24854d56dc9f5d0d5a92e5b605697907d2028d Mon Sep 17 00:00:00 2001 From: Martin Duffy Date: Tue, 2 Sep 2025 11:44:06 -0400 Subject: [PATCH] FASTBuild: Expand TargetLabels and Config for Link Commands --- Source/cmFastbuildNormalTargetGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmFastbuildNormalTargetGenerator.cxx b/Source/cmFastbuildNormalTargetGenerator.cxx index 63b00928a8..bbe623a54a 100644 --- a/Source/cmFastbuildNormalTargetGenerator.cxx +++ b/Source/cmFastbuildNormalTargetGenerator.cxx @@ -250,6 +250,9 @@ bool cmFastbuildNormalTargetGenerator::DetectBaseLinkerCommand( cmRulePlaceholderExpander::RuleVariables vars; vars.CMTargetName = this->GeneratorTarget->GetName().c_str(); vars.CMTargetType = cmState::GetTargetTypeName(targetType).c_str(); + vars.CMTargetLabels = + this->GetGeneratorTarget()->GetTargetLabelsString().c_str(); + vars.Config = Config.c_str(); vars.Language = linkLanguage.c_str(); std::string const manifests = cmJoin(this->GetManifestsAsFastbuildPath(), " ");