我正在尝试使用cmake构建一个github项目,我遇到了很多麻烦。我正在创建一个构建目录并调用cmake,如下所示:mkdir buildcmake ..这是我正在犯的错误:
CMake Error: Could not find CMAKE_ROOT !!!CMake has most likely not been installed correctly.Modules directory not fou
ourlibraryTargets.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/ourlibrary(
${CMAKE_CURRENT_LIST_DIR}/CMake/ourlibraryConfig.cmake.in # It's a package init and an inclusionto ourlibra