summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-05-23 22:21:16 +0800
committerruki <[email protected]>2019-05-23 08:07:37 +0800
commit7434ac208724ea5840e32040fda9601feb4dd722 (patch)
tree01354815e47eb7dd2e57909024432d57576a81ef /xmake/modules/core/tools/cl.lua
parentaf7907d7adc0c60930477730876f0ed74d3a9f5a (diff)
translate path for gcc and cl
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 08a17ff8e..4464b6ca1 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -234,7 +234,7 @@ end
-- make the includedir flag
function nf_includedir(self, dir)
- return "-I" .. os.args(dir)
+ return "-I" .. os.args(path.translate(dir))
end
-- make the c precompiled header flag