Skip to content

Commit

Permalink
improve to find vstudio
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed May 25, 2023
1 parent 2871a43 commit 3bc1882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/modules/detect/sdks/find_vstudio.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ function _find_vstudio(opt)
table.insert(paths, format("$(env %s)\\..\\..\\VC", vsenvs[version]))
end
if vswhere_VCAuxiliaryBuildDir and os.isdir(vswhere_VCAuxiliaryBuildDir) then
table.insert(paths, vswhere_VCAuxiliaryBuildDir)
table.insert(paths, 1, vswhere_VCAuxiliaryBuildDir)
end

-- find vcvarsall.bat, vcvars32.bat for vs7.1
Expand Down

0 comments on commit 3bc1882

Please sign in to comment.