将mac更新到big sur后,打开clion报错:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
解决方案:
- 在终端输入xcode-select --install
Tools->Cmake->Rest Cache and Reload Project
则编译成功