check if CMAKE_TOOLCHAIN_FILE is set anywhere before project()
find if xxx-config/xxxConfig exists anywhere under ${env:VCPKG_ROOT}, which possibly exists
remove ./build/CMakeCache.txt, which is suspicious on causing this problem (see also https://github.com/microsoft/vcpkg/issues/16143)