summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-03 23:54:18 +0800
committerruki <[email protected]>2022-08-03 23:54:18 +0800
commite387de53870b6ac9432a6599d9904910b088bc7c (patch)
treedfce3101044f0ebee0643c1b0f70bf12f3d2a291 /xmake/rules/c++/modules/xmake.lua
parentd1de4d49e4ae33ea5364bc996a64622fa59af9eb (diff)
remove tailing spaces
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)