diff options
Diffstat (limited to 'xmake/tools/cl.lua')
| -rw-r--r-- | xmake/tools/cl.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/tools/cl.lua b/xmake/tools/cl.lua index 3986fac90..591e40f7d 100644 --- a/xmake/tools/cl.lua +++ b/xmake/tools/cl.lua @@ -23,6 +23,7 @@ -- -- imports +import("core.project.config") import("core.project.project") -- init it @@ -196,7 +197,7 @@ function nf_language(stdname) -- select maps local maps = cmaps - if _g.kind == "cxx" or _g.kind == "mxx" then + if _g.kind == "cxx" or _g.kind == "mxx" or config.get("vs") >= "2015" then maps = {} end |
