Skip to content

Commit

Permalink
update msvc.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthapz committed Dec 1, 2022
1 parent 768bca9 commit 43a05c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/rules/c++/modules/modules_support/msvc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ function get_cppversionflag(target)
if cppversionflag == nil then
local compinst = target:compiler("cxx")
local flags = compinst:compflags({target = target})
cppversionflag = table.find_if(flags, function(v) string.startswith(v, "/std:c++") end) or "/std:c++latest")
cppversionflag = table.find_if(flags, function(v) string.startswith(v, "/std:c++") end) or "/std:c++latest"
end
return cppversionflag or nil
end

0 comments on commit 43a05c9

Please sign in to comment.