diff options
| author | ruki <[email protected]> | 2022-03-08 23:41:00 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-08 23:41:00 +0800 |
| commit | 96a0a4860880a87ac9f6503df28a4c0bcb291bf1 (patch) | |
| tree | e47d5676dc30216ae5cd624aeb122fb4fb005b08 | |
| parent | 8189e699c432899ac6621ba31e00a05ce5d95cf1 (diff) | |
| parent | 40581640aac4b4ca2e7acb4254b07475c5cb9337 (diff) | |
Merge pull request #2136 from xq114/dev
allow custom path to vswhere.exe
| -rw-r--r-- | xmake/modules/detect/tools/find_vswhere.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/detect/tools/find_vswhere.lua b/xmake/modules/detect/tools/find_vswhere.lua index af52c5a94..75efb6b6e 100644 --- a/xmake/modules/detect/tools/find_vswhere.lua +++ b/xmake/modules/detect/tools/find_vswhere.lua @@ -51,6 +51,7 @@ function main(opt) opt.command = opt.command or "-?" opt.paths = opt.paths or { + "$(env VSINSTALLERDIR)", "$(env ProgramFiles%(x86%))\\Microsoft Visual Studio\\Installer", "$(env ProgramFiles)\\Microsoft Visual Studio\\Installer" } |
