After installing Visual Studio 2015 and running CMake on a previous project, CMake errors stating that it could not find the C compiler.
The C compiler ident
In my case there was an environment variable set which was the reason for this error. The problem was solved after deleting cxx_flags from the environment variables.