Skip to content

Commit

Permalink
fixes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
actboy168 committed Jun 11, 2024
1 parent 3c0e8ed commit d1f3e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/env/msvc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ local function vsdevcmd(arch, winsdk, toolset, f)
if winsdk then
args[#args+1] = ("-winsdk=%s"):format(winsdk)
end
if winsdk then
if toolset then
args[#args+1] = ("-vcvars_ver=%s"):format(toolset)
end
local process = assert(sp.spawn {
Expand Down

0 comments on commit d1f3e14

Please sign in to comment.