diff options
| -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 e7e76047d..22f5dea6b 100644 --- a/xmake/modules/detect/sdks/find_vstudio.lua +++ b/xmake/modules/detect/sdks/find_vstudio.lua @@ -394,7 +394,7 @@ function _check_vcvarsall_env(vars) if not option.get("diagnosis") then return end - local check_vars = {"PATH", "INCLUDE", "LIBPATH"} + local check_vars = {"PATH", "INCLUDE", "LIB", "LIBPATH"} for _, name in ipairs(check_vars) do local value_org = _env_orgs[name] if value_org == nil then |
