其他分享
首页 > 其他分享> > CMake 生成错误

CMake 生成错误

作者:互联网

1)Failed to run MSBuild command

CMake Error at CMakeLists.txt:3 (project):  

Failed to run MSBuild command:     

            MSBuild.exe   

to get the value of VCTargetsPath:

Configuring incomplete, errors occurred!


解决 

系统环境变量中添加MSBuild.exe的执行路径

点击系统高级,Path追加D:\vs2017dev\ide\MSBuild\15.0\Bin

标签:CMakeLists,MSBuild,run,错误,生成,Failed,exe,VCTargetsPath,CMake
来源: https://blog.51cto.com/fengyuzaitu/2455613