find_cmake

Function find_cmake 

Source
pub fn find_cmake() -> Result<CMakeProgram, Error>
Expand description

Find the CMake program on the system and check version compatibility.

Tries to find the cmake executable in all paths listed in the PATH environment variable. If found, it also checks that the version of CMake is at least CMAKE_MIN_VERSION.

Returns CMakeProgram on success and Error::CMakeNotFound when the cmake executable is not found or Error::UnsupportedCMakeVersion when the version is too low.