diff options
Diffstat (limited to 'xmake/modules/private/utils/batchcmds.lua')
| -rw-r--r-- | xmake/modules/private/utils/batchcmds.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/private/utils/batchcmds.lua b/xmake/modules/private/utils/batchcmds.lua index cf2c421d9..f2a611d9a 100644 --- a/xmake/modules/private/utils/batchcmds.lua +++ b/xmake/modules/private/utils/batchcmds.lua @@ -248,6 +248,8 @@ function batchcmds:compile(sourcefiles, objectfile, opt) argv[idx] = path(item:sub(3), function (p) return "-I" .. p end) elseif item:startswith("/I") then argv[idx] = path(item:sub(3), function (p) return "/I" .. p end) + elseif item:startswith("-external:I") or item:startswith("/external:I") then + argv[idx] = path(item:sub(12), function (p) return "-external:I" .. p end) end end end |
