3.21 regression related to vcpkg
Just tried an upgrade of a project that uses Cmake 3.20.5 and works fine. Keeping everything else constant I upgraded to 3.21. This project generates a Visual Studio project using the command line. The project contains a vcpkg.json file. After upgrading I get the following error
cmake --graphviz=graphviz.dot --preset=VS17-x64 -B . ../../src
Preset CMake variables:
CMAKE_INSTALL_PREFIX:PATH="../install"
CMAKE_SYSTEM_VERSION="10.0"
CMAKE_TOOLCHAIN_FILE:FILEPATH="C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
-- Running vcpkg install
-- Running vcpkg install - failed
CMake Error at C:/vcpkg/scripts/buildsystems/vcpkg.cmake:898 (message):
vcpkg install failed. See logs for more information:
C:\Users\david\devel\ReflexLibs\main\VS17\x64\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!`
The C:\Users\david\devel\ReflexLibs\main\VS17\x64\vcpkg-manifest-install.log
is empty. The local vcpkg checkout to the 2021.05.12
branch and otherwise id compltly stock. The project uses a manifest file.
I have atttached the output and error log. I am wondering if anyone can give any pointers as to what might be wrong. Note the machine does have VS 2019 and the preview of 2022 installed. If I revert to 3.20.5 everything works again