summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-09-02 13:42:26 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-09-02 16:59:59 (GMT)
commit657047cd24a4452e755522c84700ca490a076373 (patch)
tree26292321d7319f4cc5182f0590a0314de2f7995b
parentc35d1927a58366c56beb320835eb9366d0dccd70 (diff)
downloadCMake-657047cd24a4452e755522c84700ca490a076373.zip
CMake-657047cd24a4452e755522c84700ca490a076373.tar.gz
CMake-657047cd24a4452e755522c84700ca490a076373.tar.bz2
Ninja Multi-Config: Fix clean:all target
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
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) {