背景
在使用CLion中温习C++的过程中,发现了一个报错:
CMake Warning at /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.15/Modules/Platform/Darwin-Initialize.cmake: (message):
Ignoring CMAKE_OSX_SYSROOT value:
/Applications/Xcode.app/Contents/Developer/…
because the directory does not exist.
原因
因为Mac捉襟见肘的磁盘空间,前些日子把XCode给卸载了,导致了上述报错,因为Mac上CL