summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-01 14:12:50 +0800
committerruki <[email protected]>2026-02-01 14:12:50 +0800
commitac0a3e5909f3d0c4b6a630526b230c8a2085839b (patch)
treeb5f30b381fb8af8ef003bf25838fb16a2a51138a
parent9e715b0c81e3cec987b720f7c113a91302345f6c (diff)
check lib in vs detection
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua2
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