summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-02-10 23:38:25 +0800
committerruki <[email protected]>2023-02-10 23:38:25 +0800
commitde0ebdbd9f281232babc08b96ecb1198af933f10 (patch)
tree45fdf09246942fb89f69e5ec7592c9a7272e993c
parentf21ed7166f111fa8d74b574352d1cd590f212cca (diff)
improve vcpkg tips
-rw-r--r--xmake/modules/package/manager/vcpkg/find_package.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua
index 2853c87ee..79d875968 100644
--- a/xmake/modules/package/manager/vcpkg/find_package.lua
+++ b/xmake/modules/package/manager/vcpkg/find_package.lua
@@ -182,9 +182,7 @@ function main(name, opt)
-- attempt to find vcpkg directory
local vcpkgdir = find_vcpkgdir()
if not vcpkgdir then
- if option.get("diagnosis") then
- cprint("${color.warning}checkinfo: ${clear dim}vcpkg root directory not found, maybe you need set $VCPKG_ROOT!")
- end
+ wprint("vcpkg root directory not found, maybe you need set $VCPKG_ROOT!")
return
end