summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaUtilityTargetGenerator.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-07-24 15:49:59 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-07-24 15:49:59 (GMT)
commitcfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa (patch)
treeb9bb2f9410393f872762a19dd1b9583e86139879 /Source/cmNinjaUtilityTargetGenerator.cxx
parent1138907a58402f8004a6c6ff163a30b58239ece7 (diff)
downloadCMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.zip
CMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.tar.gz
CMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.tar.bz2
Ninja: Remove parameter default for cmNinjaTargetDepends
Diffstat (limited to 'Source/cmNinjaUtilityTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaUtilityTargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaUtilityTargetGenerator.cxx b/Source/cmNinjaUtilityTargetGenerator.cxx
index 8d863c3..9508bb9 100644
--- a/Source/cmNinjaUtilityTargetGenerator.cxx
+++ b/Source/cmNinjaUtilityTargetGenerator.cxx
@@ -101,7 +101,8 @@ void cmNinjaUtilityTargetGenerator::Generate(const std::string& config)
lg->AppendTargetOutputs(genTarget, gg->GetByproductsForCleanTarget(),
config);
}
- lg->AppendTargetDepends(genTarget, deps, config, config);
+ lg->AppendTargetDepends(genTarget, deps, config, config,
+ DependOnTargetArtifact);
if (commands.empty()) {
phonyBuild.Comment = "Utility command for " + this->GetTargetName();