summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/c++/unity_build/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/c++/unity_build/xmake.lua b/xmake/rules/c++/unity_build/xmake.lua
index 838f8a097..b03a383ae 100644
--- a/xmake/rules/c++/unity_build/xmake.lua
+++ b/xmake/rules/c++/unity_build/xmake.lua
@@ -38,7 +38,7 @@ rule("c++.unity_build")
for _, rulename in ipairs({"c.build", "c++.build"}) do
local sourcebatch = sourcebatches[rulename]
if sourcebatch then
- unity_build.generate_unitfiles(target, sourcebatch, opt)
+ unity_build.generate_unityfiles(target, sourcebatch, opt)
end
end
end