From 657047cd24a4452e755522c84700ca490a076373 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Wed, 2 Sep 2020 09:42:26 -0400 Subject: Ninja Multi-Config: Fix clean:all target --- Source/cmGlobalNinjaGenerator.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 843b0f4..fce1b9b 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -1863,6 +1863,7 @@ void cmGlobalNinjaGenerator::WriteTargetClean(std::ostream& os) byproducts.push_back( this->BuildAlias(GetByproductsForCleanTargetName(), config)); } + byproducts.emplace_back(GetByproductsForCleanTargetName()); build.Variables["TARGETS"] = cmJoin(byproducts, " "); for (auto const& fileConfig : configs) { -- cgit v0.12