summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaNormalTargetGenerator.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/cmNinjaNormalTargetGenerator.cxx
parent1138907a58402f8004a6c6ff163a30b58239ece7 (diff)
downloadCMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.zip
CMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.tar.gz
CMake-cfe2dc4721cfd833bc3f42ff1eaa33b51ae0d7fa.tar.bz2
Ninja: Remove parameter default for cmNinjaTargetDepends
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r--Source/cmNinjaNormalTargetGenerator.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx
index de68371..924a44e 100644
--- a/Source/cmNinjaNormalTargetGenerator.cxx
+++ b/Source/cmNinjaNormalTargetGenerator.cxx
@@ -743,7 +743,8 @@ void cmNinjaNormalTargetGenerator::WriteDeviceLinkStatement(
// Gather order-only dependencies.
this->GetLocalGenerator()->AppendTargetDepends(
- this->GetGeneratorTarget(), build.OrderOnlyDeps, config, config);
+ this->GetGeneratorTarget(), build.OrderOnlyDeps, config, config,
+ DependOnTargetArtifact);
// Write the build statement for this target.
bool usedResponseFile = false;
@@ -1168,8 +1169,8 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement(
globalGen->IsMultiConfig() ? cmStrCat('.', config) : "", ".rsp"));
// Gather order-only dependencies.
- this->GetLocalGenerator()->AppendTargetDepends(gt, linkBuild.OrderOnlyDeps,
- config, fileConfig);
+ this->GetLocalGenerator()->AppendTargetDepends(
+ gt, linkBuild.OrderOnlyDeps, config, fileConfig, DependOnTargetArtifact);
// Add order-only dependencies on versioning symlinks of shared libs we link.
if (!this->GeneratorTarget->IsDLLPlatform()) {