1. generate project
cmake .. -G Xcode
error:
error: No CMAKE_C_COMPILER could be found.
solu:
If you have installed Xcode or Command Line Tools for Xcode, try this:
sudo xcode-select --reset
标签:cmake,No,xcode,sudo,error,Xcode
From: https://www.cnblogs.com/Searchor/p/17283170.html