我正在做一个依赖于CMake的项目。当我下载CMake并将它添加到回购的根目录时,我仍然有相同的错误。
CMake is a pre-requisite to build this repository but it was not found on the path.
Please install CMake from http://www.cmake.org/download/ and ensure it is on your path.我应该在哪里以及如何将CMake添加到项目中?
发布于 2018-07-28 02:24:35
我不知道你所说的回购是什么意思,在搜索错误信息之后
CMake is a pre-requisite to build this repository but it was not found on the path.您似乎正在使用dotnet/coreclr.的dotnet/corefx或旧版本的。
实际上,类似于您的问题已于5月30日修复,请参阅提交标题为Improve CMake detection on Windows when not in PATH:https://github.com/dotnet/corefx/issues/28799
https://stackoverflow.com/questions/50341888
复制相似问题