cmGlobalNinjaGenerator: Do not generate alias if match custom command output

parent 708dcbfd
...@@ -1112,6 +1112,11 @@ void cmGlobalNinjaGenerator::WriteTargetAliases(std::ostream& os) ...@@ -1112,6 +1112,11 @@ void cmGlobalNinjaGenerator::WriteTargetAliases(std::ostream& os)
continue; continue;
} }
// Don't write alias matching custom command output
if (this->HasCustomCommandOutput(ta.first)) {
continue;
}
cmNinjaDeps deps; cmNinjaDeps deps;
this->AppendTargetOutputs(ta.second, deps); this->AppendTargetOutputs(ta.second, deps);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment