summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-03-01 15:56:35 +0800
committerruki <[email protected]>2020-03-01 15:56:35 +0800
commit5ba685444d93ec2aeb0adcc5974d71c454f9ae90 (patch)
tree1af618ac7cdd53f291b573225d60467581f4db5e /xmake/modules/core/tools/cl.lua
parent8399236ed894f10f58570b91af8e8a501cd2453d (diff)
fix code style
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 3f4857f6a..eddfe0260 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -344,8 +344,8 @@ function _include_deps(self, outdata)
-- save it if belong to the project
if includefile:startswith(os.projectdir()) then
- includefile = path.relative(includefile, project.directory())
-- insert it and filter repeat
+ includefile = path.relative(includefile, project.directory())
if not uniques[includefile] then
table.insert(results, includefile)
uniques[includefile] = true