diff options
| author | OpportunityLiu <[email protected]> | 2019-11-01 18:25:08 +0800 |
|---|---|---|
| committer | OpportunityLiu <[email protected]> | 2019-11-01 18:25:08 +0800 |
| commit | ce943d1cb2a5d0f6604c201a611b9d8b03ec9d16 (patch) | |
| tree | d58e418f9792440c8733a07ccd1b9754410c1bbd /xmake/modules/core/tools/cl.lua | |
| parent | ef055ce4ca8ba96422488e115ab43a3fb981ea21 (diff) | |
fix WindowsTargetPlatformVersion & LanguageStandard
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
| -rw-r--r-- | xmake/modules/core/tools/cl.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua index c8e20d552..9c60c9e54 100644 --- a/xmake/modules/core/tools/cl.lua +++ b/xmake/modules/core/tools/cl.lua @@ -192,10 +192,10 @@ function nf_language(self, stdname) , gnuxx17 = "-std:c++17" , cxx1z = "-std:c++17" , gnuxx1z = "-std:c++17" - , cxx20 = "-std=c++latest" - , gnuxx20 = "-std=c++latest" - , cxx2a = "-std=c++latest" - , gnuxx2a = "-std=c++latest" + , cxx20 = "-std:c++latest" + , gnuxx20 = "-std:c++latest" + , cxx2a = "-std:c++latest" + , gnuxx2a = "-std:c++latest" } local cxxmaps2 = {} for k, v in pairs(_g.cxxmaps) do |
