diff options
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index fc701d5d8..fb2d69a53 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -330,7 +330,8 @@ end function _compile1(self, sourcefile, objectfile, dependinfo, flags) -- ensure the object directory - local objectdir = path.directory(objectfile) + -- @note this path here has been normalized, we can quickly find it by the unique path separator prompt + local objectdir = path.directory(objectfile, path.sep()) if not os.isdir(objectdir) then os.mkdir(objectdir) end |
