summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-09 00:39:05 +0800
committerruki <[email protected]>2018-05-08 21:54:32 +0800
commit87a3262733fb60ab6262893d55ca4b5d0e1b516c (patch)
tree21d081c4d84d483c58ae9fb870eae36a2decf4f1 /xmake/modules/core/tools/cl.lua
parentb5333b27b79f7cabbdc8d75356b2de118f9ea744 (diff)
improve qt build deps
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 c9286a80b..2cdb3ca72 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -320,7 +320,7 @@ function _include_deps(self, outdata)
includefile = path.relative(includefile, project.directory())
-- save it if belong to the project
- if not path.is_absolute(includefile) then
+ if path.absolute(includefile):startswith(os.projectdir()) then
-- insert it and filter repeat
if not uniques[includefile] then