Now I have the same old problem in CLion:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.23.1 or higher is required. You are running version 3.21.1
ā Configuring incomplete, errors occurred!
I installed 3.23.1 and the system says I have 3.23.1
I am NOT running 3.21.1 !!!
There must be a bug somewhere
cmake --version
cmake version 3.23.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
I had this problem at first with CMake and Fedora. Query says I have a higher version in Fedora than the one running in a code editor, whether VS Code or CLion. Same thing happens in other software.