CMake broken after update to Xcode 7.0 CMake broken after update to Xcode 7.0 xcode xcode

CMake broken after update to Xcode 7.0


delete any old CMakeCache.txt in current project and dependencies and rebuild solves the problem.


If someone is using Clion you can try

Tools > CMake > Reset cache and reload project


The default value for CMAKE_OSX_SYSROOT appears to be baked into the cmake executable, and automatically added to newly-created CMakeCache.txt cache files.

So I needed to both upgrade cmake and then delete all my CMakeCache.txt files to get CMake working again.