summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/core/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 069c96d86..5f44197f6 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -350,10 +350,10 @@ function nf_encoding(self, encoding)
table.insert(flags, "/utf-8")
else
if kind == "source" or not kind then
- table.insert(flags, "-source-charset=" .. charset)
+ table.insert(flags, "-source-charset:" .. charset)
end
if kind == "target" or not kind then
- table.insert(flags, "-execution-charset=" .. charset)
+ table.insert(flags, "-execution-charset:" .. charset)
end
end
end