diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-11-19 18:29:57 +0100 |
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2025-11-19 18:29:57 +0100 |
| commit | 4b72df8f8e32aad83b628fb2f1c852cb108c2aba (patch) | |
| tree | 0cae9b7d2144a148fccd34ff3885882e2adc3f76 /src/task.cc | |
| parent | cd6c3ea1c3ca853fc38da4fa5fd62545c31aa92d (diff) | |
Fix missing config.depends dependency checks on all task types.develop
Diffstat (limited to 'src/task.cc')
| -rw-r--r-- | src/task.cc | 7 |
1 files changed, 6 insertions, 1 deletions
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<std::shared_ptr<Task>>& 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) |
