summaryrefslogtreecommitdiff
path: root/xmake/rules/cppfront
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/cppfront')
-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 5ef208e3b..90153df85 100644
--- a/xmake/rules/cppfront/xmake.lua
+++ b/xmake/rules/cppfront/xmake.lua
@@ -35,7 +35,7 @@ rule("cppfront.build")
end
end
end)
- before_buildcmd_file(function (target, batchcmds, sourcefile_cpp2, opt)
+ on_buildcmd_file(function (target, batchcmds, sourcefile_cpp2, opt)
-- get cppfront
import("lib.detect.find_tool")