When generating -G "Visual Studio 14 2015" for target that 2019 with compiler 2015 installed, the building procedure will fail, can the cmake detecting msvc 2015 compiler installed with msvc 2019 properly?
[main] Configuring folder: pedeps [driver] Removing e:/CI-Cor-Ready/15/im/pedeps/build/CMakeCache.txt[driver] Removing e:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles[proc] Executing command: "C:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -He:/CI-Cor-Ready/15/im/pedeps -Be:/CI-Cor-Ready/15/im/pedeps/build -G "Visual Studio 14 2015" -A win32[cmake] Not searching for unused variables given on the command line.[cmake] -- Selecting Windows SDK version to target Windows 10.0.19043.[cmake] CMake Error at CMakeLists.txt:2 (project):[cmake] Failed to run MSBuild command:[cmake] [cmake] MSBuild.exe[cmake] [cmake] to get the value of VCTargetsPath:[cmake] [cmake] Microsoft(R) 生成引擎版本 4.8.4084.0[cmake] [Microsoft .NET Framework 版本 4.0.30319.42000][cmake] 版权所有 (C) Microsoft Corporation。保留所有权利。[cmake] [cmake] 生成启动时间为 2021/11/5 23:19:59。[cmake] 节点 1 上的项目“E:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles\3.20.2\VCTargetsPath.vcxproj”(默认目标)。[cmake] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\win32\Microsoft.Cpp.win32.Targets(518,5): error MSB8008: Specified platform toolset (v140) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [E:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles\3.20.2\VCTargetsPath.vcxproj][cmake] 已完成生成项目“E:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles\3.20.2\VCTargetsPath.vcxproj”(默认目标)的操作 - 失败。[cmake] [cmake] 生成失败。[cmake] [cmake] “E:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles\3.20.2\VCTargetsPath.vcxproj”(默认目标) (1) ->[cmake] (PlatformPrepareForBuild 目标) -> [cmake] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\win32\Microsoft.Cpp.win32.Targets(518,5): error MSB8008: Specified platform toolset (v140) is not installed or invalid. Please make sure that a supported PlatformToolset value is selected. [E:\CI-Cor-Ready\15\im\pedeps\build\CMakeFiles\3.20.2\VCTargetsPath.vcxproj][cmake] [cmake] 0 个警告[cmake] 1 个错误[cmake] [cmake] 已用时间 00:00:00.54[cmake] [cmake] [cmake] Exit code: 1[cmake] [cmake] [cmake] [cmake] -- Configuring incomplete, errors occurred![cmake] See also "E:/CI-Cor-Ready/15/im/pedeps/build/CMakeFiles/CMakeOutput.log".