summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-01 12:35:42 +0800
committerruki <[email protected]>2026-02-01 12:35:42 +0800
commit5a257a3471bc29e1ad9ac496b6389f874f394227 (patch)
treef09f40cdf1a6dd62de2c292f7e377681e9245da7
parent8588d0bdbc8d49cbef094a89538ac5daf96e6a1a (diff)
improve tips
-rw-r--r--xmake/modules/detect/sdks/find_vstudio.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/detect/sdks/find_vstudio.lua b/xmake/modules/detect/sdks/find_vstudio.lua
index 70cf93d14..be0eed658 100644
--- a/xmake/modules/detect/sdks/find_vstudio.lua
+++ b/xmake/modules/detect/sdks/find_vstudio.lua
@@ -401,8 +401,7 @@ function _check_vcvarsall_env(vars)
if value_org and value_new and #value_org > 0 then
for _, p in ipairs(path.splitenv(value_org)) do
if not value_new:find(p, 1, true) then
- wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!", name)
- wprint(" > %s", p)
+ wprint("%%%s%% is too long and truncated, detect msvc may be failed, please clear some unused variables!\n > %s", name, p)
break
end
end