summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-04-23 22:45:44 +0800
committerruki <[email protected]>2018-04-23 10:34:29 +0800
commitef0cf64971eaa9a0b4331f7fa1518bf79dbf6178 (patch)
tree351e53c3750a0b2e7d192fd47cd3e8e264ea91e6 /xmake/modules/core/tools/cl.lua
parentd1de6e6006a786f46016d30db4a8f90037039143 (diff)
add qt support for msvc and mingw
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index c0f4b369c..8b5ffcbd6 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -192,8 +192,8 @@ function nf_language(self, stdname)
-- the stdc++ maps
local cxxmaps =
{
- cxx11 = "-std=c++11"
- , gnuxx11 = "-std=c++11"
+ cxx11 = "-std:c++11"
+ , gnuxx11 = "-std:c++11"
, cxx14 = "-std:c++14"
, gnuxx14 = "-std:c++14"
, cxx17 = "-std:c++17"