summaryrefslogtreecommitdiff
path: root/xmake/rules/cppfront/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/cppfront/xmake.lua')
-rw-r--r--xmake/rules/cppfront/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/cppfront/xmake.lua b/xmake/rules/cppfront/xmake.lua
index bc45d90f3..f829b671f 100644
--- a/xmake/rules/cppfront/xmake.lua
+++ b/xmake/rules/cppfront/xmake.lua
@@ -87,7 +87,7 @@ rule("cppfront.build.cpp2")
batchcmds:show_progress(opt.progress, "${color.build.object}compiling.cpp2 %s", sourcefile_cpp2)
batchcmds:mkdir(basedir)
batchcmds:vrunv(cppfront.program, argv)
- batchcmds:compile(sourcefile_cpp, objectfile, {configs = {languages = "c++26"}})
+ batchcmds:compile(sourcefile_cpp, objectfile, {configs = {languages = "c++latest"}})
-- add deps
batchcmds:add_depfiles(sourcefile_cpp2)