diff options
| author | ruki <[email protected]> | 2024-08-07 23:36:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-08-07 23:36:16 +0800 |
| commit | 5fdc3b22e827617582e5c1c2e754870fb195b66b (patch) | |
| tree | f3c296e0c2536c987b6aa84b0e5e4902cabe1a28 | |
| parent | 354cbaf00470f1fdcaa4a6d131e286875e8a4cbf (diff) | |
format code
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index 0bc374204..b58e9cb91 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -340,10 +340,10 @@ function _find_vstudio(opt) table.insert(paths, 1, vswhere_VCAuxiliaryBuildDir) end if version == "6.0" and os.arch() == "x64" then - table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\DevStudio\\6.0\\Products\\Microsoft Visual C++;ProductDir)\\Bin") - table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++;ProductDir)\\Bin") + table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\DevStudio\\6.0\\Products\\Microsoft Visual C++;ProductDir)\\Bin") + table.insert(paths, "$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\6.0\\Setup\\Microsoft Visual C++;ProductDir)\\Bin") end - + -- find vcvarsall.bat, vcvars32.bat for vs7.1 local vcvarsall = find_file("vcvarsall.bat", paths) or find_file("vcvars32.bat", paths) if not vcvarsall then |
