summaryrefslogtreecommitdiff
path: root/src/task_so.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/task_so.cc')
-rw-r--r--src/task_so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/task_so.cc b/src/task_so.cc
index 4d154d7..d7c0820 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -43,14 +43,14 @@ TaskSO::TaskSO(const BuildConfiguration& config,
flagsFile += ".flags";
target_type = ctor::target_type::dynamic_library;
- source_language = Language::C;
+ source_language = ctor::language::c;
for(const auto& source : config.sources)
{
std::filesystem::path sourceFile(source.file);
// TODO: Use task languages instead
if(sourceFile.extension().string() != ".c")
{
- source_language = Language::Cpp;
+ source_language = ctor::language::cpp;
}
}
}