summaryrefslogtreecommitdiff
path: root/src/task.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task.cc')
-rw-r--r--src/task.cc7
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)