From de0ebdbd9f281232babc08b96ecb1198af933f10 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 10 Feb 2023 23:38:25 +0800 Subject: improve vcpkg tips --- xmake/modules/package/manager/vcpkg/find_package.lua | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.3.1