title: CMake configuring fails. "cl.exe is not able to compile a simple test program"
body: <p>I am trying to build a solution for MSVC++2010 using CMake. Since I installed Visual Studio 2012 that does not work anymore. CMake comes with the following error message:
  "The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
    10.0/VC/bin/cl.exe" is not able to compile a simple test program."</p>
  
  <p>While searching a solution for my problem I found this topic (<a href="https://stackoverflow.com/questions/14319247/cmake-is-unable-to-configure-project-for-visual-studios-10-amd64/14471934#14471934">Cmake is Unable to Configure Project for Visual Studios 10 amd64</a>) which though adresses my problem but the solution doesn't work for me.</p>
  
  <p>Any help would be much appreciated.</p>