I am using a repo requiring at least cmake 3.12. I had cmake 3.10.2, So I updated it to cmake 3.17.0. Now when I run cmake --version
, I get cmake version 3.17.0
following How to reinstall the latest cmake version?
. But, when I use the repo, I still get the following error
CMake Error at CMakeLists.txt:5 (cmake_minimum_required):
CMake 3.12 or higher is required. You are running version 3.10.2
Does anybody have any idea?