summaryrefslogtreecommitdiff
path: root/src/tasks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tasks.cc')
-rw-r--r--src/tasks.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tasks.cc b/src/tasks.cc
index b44fce8..9c64fb4 100644
--- a/src/tasks.cc
+++ b/src/tasks.cc
@@ -19,6 +19,7 @@
#include "rebuild.h"
#include "configure.h"
#include "util.h"
+#include "tools.h"
const std::deque<Target>& getTargets(const ctor::settings& settings,
bool resolve_externals)
@@ -95,7 +96,7 @@ std::set<std::shared_ptr<Task>> taskFactory(const ctor::build_configuration& con
}
else
{
- target_type = target_type_from_extension(targetFile);
+ target_type = target_type_from_extension(ctor::toolchain::any, targetFile);
}
}