summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-04-30 18:45:19 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2021-04-30 18:46:21 (GMT)
commitad08f93ee40a1cc855c403c1cc738237511224e3 (patch)
treedb5dfa5149698d1001b1fd3de65d4ffe15439f83 /Source/cmNinjaUtilityTargetGenerator.cxx
parent1ad4501ae97fb6c6deab096ff0ac7e03d554e26d (diff)
downloadCMake-ad08f93ee40a1cc855c403c1cc738237511224e3.zip
CMake-ad08f93ee40a1cc855c403c1cc738237511224e3.tar.gz
CMake-ad08f93ee40a1cc855c403c1cc738237511224e3.tar.bz2
Ninja Multi-Config: Split long command lines by config
Fixes: #22123
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 92c5b52..7a04c47 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -139,8 +139,8 @@ void cmNinjaUtilityTargetGenerator::WriteUtilBuildStatements(
gg->WriteBuild(this->GetCommonFileStream(), phonyBuild);
}
} else {
- std::string command =
- lg->BuildCommandLine(commands, "utility", this->GeneratorTarget);
+ std::string command = lg->BuildCommandLine(
+ commands, config, fileConfig, "utility", this->GeneratorTarget);
std::string desc;
cmProp echoStr = genTarget->GetProperty("EchoString");
if (echoStr) {