报错

The CMAKE_C_COMPILER: 
/usr/local/Cellar/gcc/11.2.0/bin/gcc-11 
is not a full path to an existing compiler tool.

问题的解决思路很简单

就是将CMake的路径重新设置,在CLion中手动设置就行,打开路径文件夹,然后bin目录下找

原因

可能重新安装过CMake,导致一开始默认设置的路径不存在了。