CMake cannot find Visual Studio toolsets using the two-part version number
CMake currently fails to find non-default Visual Studio toolset versions when the two-part version is used in the CMake configs. The three-part version works correctly. For example, if we specify VS17 2022 14.32.
And we attempt to configure the project using CMake on a plain Powershell prompt, we will get an error reporting that the version isn't installed.
But if we look, we see that version is installed in the correct directory, but the folder specified in the error is wrong.
The documentation implies that using X.Y versions are acceptable for configuring the Visual Studio toolset version. https://cmake.org/cmake/help/latest/variable/CMAKE_VS_PLATFORM_TOOLSET_VERSION.html
Using a three-part version
Successfully configured