项目场景:
CMake-gui 找不到VS 2019的一种特殊情况[Windows],选用VS 2017一直报错
问题描述
CMake-gui 找不到VS 2019的一种特殊情况[Windows],选用VS 2017一直报错
CMake Error at CMakeLists.txt:5 (project):
Failed to run MSBuild command:
MSBuild.exe
原因分析:
CMake gui 版本太低!
解决方案:
提示:这里填写该问题的具体解决方案:
去
https://cmake.org/download/
或者
https://github.com/Kitware/CMake/releases/tag/v3.18.5
下载一个最新版,就有了。