From 7434ac208724ea5840e32040fda9601feb4dd722 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 23 May 2019 22:21:16 +0800 Subject: translate path for gcc and cl --- xmake/modules/core/tools/cl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/modules/core/tools/cl.lua') 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 -- cgit v1.3.1