diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_vstudio.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua index ee4563bc5..43809aa53 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -29,8 +29,7 @@ import("lib.detect.find_directory") import("core.cache.global_detectcache") -- init vsvers -local vsvers = -{ +local vsvers = { ["18.0"] = "2026" , ["17.0"] = "2022" , ["16.0"] = "2019" @@ -49,8 +48,7 @@ local vsvers = } -- init vsenvs -local vsenvs = -{ +local vsenvs = { ["18.0"] = "VS180COMNTOOLS" , ["17.0"] = "VS170COMNTOOLS" , ["16.0"] = "VS160COMNTOOLS" |
