CMake项目中的依赖项

时间:2018-05-15 03:25:42

标签: configuration cmake installation

我正在开发一个依赖于CMake的项目。当我下载CMake并将其添加到repo的根目录时,我仍然有同样的错误。

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添加到项目中?

1 个答案:

答案 0 :(得分:1)

在搜索错误消息后,我不知道您所说的 repo 是什么意思

CMake is a pre-requisite to build this repository but it was not found on the path.

您似乎正在使用 dotnet / corefx 或旧版本的 dotnet / coreclr

确实,您的问题似乎已在5月30日得到解决,请在此处查看标题为Improve CMake detection on Windows when not in PATH的提交:https://github.com/dotnet/corefx/issues/28799