mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
cmGlobalNinjaGenerator: fix lambda variable name typo
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user