summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/xmake.lua')
-rw-r--r--xmake/rules/c++/modules/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/xmake.lua b/xmake/rules/c++/modules/xmake.lua
index 313d932f9..785e8fed5 100644
--- a/xmake/rules/c++/modules/xmake.lua
+++ b/xmake/rules/c++/modules/xmake.lua
@@ -53,7 +53,7 @@ rule("c++.build.modules")
rule("c++.build.modules.dependencies")
- before_build(function(target, opt)
+ before_build(function(target, opt)
if not target:data("cxx.has_modules") then
return
end
@@ -141,7 +141,7 @@ rule("c++.build.modules.install")
end
local sourcebatch = target:sourcebatches()["c++.build.modules.install"]
- if sourcebatch then
+ if sourcebatch then
target:add("installfiles", sourcebatch.sourcefiles, {prefixdir = "include"})
end
- end) \ No newline at end of file
+ end)