summaryrefslogtreecommitdiff
path: root/src/tasks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks.cc')
-rw-r--r--src/tasks.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tasks.cc b/src/tasks.cc
index 8bb8de6..f24f3cb 100644
--- a/src/tasks.cc
+++ b/src/tasks.cc
@@ -112,7 +112,7 @@ std::set<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config,
{
auto task = std::make_shared<TaskCC>(config, settings, sourceDir, file);
tasks.insert(task);
- objects.push_back(task->target());
+ objects.push_back(task->targetFile().string());
}
switch(target_type)