diff options
| author | ruki <[email protected]> | 2023-02-16 23:15:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-16 23:15:57 +0800 |
| commit | 6496473def61d3a6769aa4bdbf8ee3afa82ca009 (patch) | |
| tree | b0aa77d647be10bb0e46fed6588a915f567a0eeb /xmake/modules/package | |
| parent | 7fd2cec12bf091a8695fa50009e7399447f4622d (diff) | |
revert find package from vcpkg
Diffstat (limited to 'xmake/modules/package')
| -rw-r--r-- | xmake/modules/package/manager/vcpkg/find_package.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/vcpkg/find_package.lua b/xmake/modules/package/manager/vcpkg/find_package.lua index 79d875968..2853c87ee 100644 --- a/xmake/modules/package/manager/vcpkg/find_package.lua +++ b/xmake/modules/package/manager/vcpkg/find_package.lua @@ -182,7 +182,9 @@ function main(name, opt) -- attempt to find vcpkg directory local vcpkgdir = find_vcpkgdir() if not vcpkgdir then - wprint("vcpkg root directory not found, maybe you need set $VCPKG_ROOT!") + if option.get("diagnosis") then + cprint("${color.warning}checkinfo: ${clear dim}vcpkg root directory not found, maybe you need set $VCPKG_ROOT!") + end return end |
