There can be issues when you run cmake from the Windows SDK-provided prompt/cmd, particularly with bitness.