David Sagang
David Sagang

Reputation: 342

CMake dependency in a project

I am working on a project that depends on CMake. When I download CMake and I add it to the root of the repo I still have the same error.

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.

Where and how should I add CMake to the project?

Upvotes: 0

Views: 563

Answers (1)

J-Christophe
J-Christophe

Reputation: 2070

While I don't know what you mean by repo, after searching for the error message

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

It seems you are working with dotnet/corefx or an older version of dotnet/coreclr.

Indeed, it looks like a problem similar to yours has been fixed on May 30, see commit entitled Improve CMake detection on Windows when not in PATH here: https://github.com/dotnet/corefx/issues/28799

Upvotes: 1

Related Questions