diff options
| author | ruki <[email protected]> | 2023-05-26 00:45:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-05-26 00:45:21 +0800 |
| commit | 3bc1882be93ab58f774322b74d19d2fe92bd09e5 (patch) | |
| tree | c12edccfc887269d40a02000598e752d9a4fffef | |
| parent | 2871a4322bc0c5916a48edccb9248cf65ae73c32 (diff) | |
improve to find vstudio
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index d3ff7fd7a..ee06019eb 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -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 |
