Closed 7c0o closed 1 year ago
The function vcpkg_cmake_config
depends on vcpkg-cmake
in vcpkg.json
, please make sure your json file has not changed.
And please run command git pull
、.\bootstrap-vcpkg.bat
.
Unknown CMake command "vcpkg_cmake_configure".
The function
vcpkg_cmake_config
depends onvcpkg-cmake
invcpkg.json
, please make sure your json file has not changed. And please run commandgit pull
、.\bootstrap-vcpkg.bat
.Unknown CMake command "vcpkg_cmake_configure".
I removed installed\vcpkg\
then it can work。
@7c0o This means that your local vcpkg-cmake
is not installed normally. Works when re-cleaning the cache。
This problem occurs when I install multiple versions
The older version caches may not have vcpkg-cmake dependencies, please keep using the latest version. :)
What you really need to run is:
.\vcpkg upgrade
and when you are happy with it:
.\vcpkg upgrade --no-dry-run
Alternatively, you can try:
.\vcpkg remove --recurse vcpkg-cmake
We hope your question was answered to your satisfaction; if it wasn't, you can ping me and I will reopen this issue.
Package: usockets[core,ssl]:x64-windows-static-release -> 0.8.6#1
Host Environment
To Reproduce
vcpkg install usockets[ssl]:x64-windows-static-release
Failure logs
Additional context