Skip to content
Snippets Groups Projects
Commit f1199bdc authored by Kyle Edwards's avatar Kyle Edwards
Browse files

Ninja Multi-Config: Fix cleaning of utility targets with commands

parent 657047cd
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,8 @@ void cmNinjaUtilityTargetGenerator::Generate(const std::string& config)
if (genTarget->Target->GetType() != cmStateEnums::GLOBAL_TARGET) {
lg->AppendTargetOutputs(genTarget, gg->GetByproductsForCleanTarget(),
config);
std::copy(util_outputs.begin(), util_outputs.end(),
std::back_inserter(gg->GetByproductsForCleanTarget()));
}
lg->AppendTargetDepends(genTarget, deps, config, config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment