cmGlobalNinjaGenerator: fix lambda variable name typo

This commit is contained in:
Ben Boeckel
2023-10-19 22:06:05 -04:00
parent f02c3c6181
commit 1cfba13004

View File

@@ -1357,10 +1357,10 @@ void cmGlobalNinjaGenerator::AppendTargetDepends(
} else {
cmNinjaDeps outs;
auto computeISPCOuputs = [](cmGlobalNinjaGenerator* gg,
cmGeneratorTarget const* depTarget,
cmNinjaDeps& outputDeps,
const std::string& targetConfig) {
auto computeISPCOutputs = [](cmGlobalNinjaGenerator* gg,
cmGeneratorTarget const* depTarget,
cmNinjaDeps& outputDeps,
const std::string& targetConfig) {
if (depTarget->CanCompileSources()) {
auto headers = depTarget->GetGeneratedISPCHeaders(targetConfig);
if (!headers.empty()) {
@@ -1384,10 +1384,10 @@ void cmGlobalNinjaGenerator::AppendTargetDepends(
}
if (targetDep.IsCross()) {
this->AppendTargetOutputs(targetDep, outs, fileConfig, depends);
computeISPCOuputs(this, targetDep, outs, fileConfig);
computeISPCOutputs(this, targetDep, outs, fileConfig);
} else {
this->AppendTargetOutputs(targetDep, outs, config, depends);
computeISPCOuputs(this, targetDep, outs, config);
computeISPCOutputs(this, targetDep, outs, config);
}
}
std::sort(outs.begin(), outs.end());