From 4b72df8f8e32aad83b628fb2f1c852cb108c2aba Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 19 Nov 2025 18:29:57 +0100 Subject: Fix missing config.depends dependency checks on all task types. --- src/task.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/task.cc') diff --git a/src/task.cc b/src/task.cc index ef7731b..77c745e 100644 --- a/src/task.cc +++ b/src/task.cc @@ -18,7 +18,12 @@ Task::Task(const ctor::build_configuration& config_, const ctor::settings& setti int Task::registerDepTasks(const std::vector>& tasks) { - for(const auto& depStr : depends()) + auto dependsList = depends(); + for(const auto& dep : config.depends) + { + dependsList.emplace_back(dep); + } + for(const auto& depStr : dependsList) { bool found{false}; for(const auto& task : tasks) -- cgit v1.2.3