CMake configuring fails. “cl.exe is not able to compile a simple test program”
I had the same problem on Win7. What worked for me is what @Andre suggested in the comment: Right-Click->Properties on cl.exe in your VS install directory (the exact path appears in the CMake error); Choose the Compatibility Tab; Check “Run this program as administrator” in the “Privilege Level” box.