CMake, on Windows, needs to be run from the Visual Studio developer console in order to function correctly (at least for the NMake generator). There's already a notice in the _Building_ section, but it's missing in the _Running CMake_ section.