CMake fails with space in Xcode app name
I have Xcode 7 and 8 installed side by side.
Xcode 7 is in /Applications/Xcode.app
Xcode 8 is in /Applications/Xcode 8.app
If I switch to xcode 8 with xcode-select
I get this error when trying to generate xcode project with cmake:
- The C compiler identification is AppleClang 8.0.0.8000038
-- The CXX compiler identification is AppleClang 8.0.0.8000038
CMake Error in CMakeLists.txt:
No CMAKE_C_COMPILER could be found.