summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/modules')
-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