CMake Error at CMakeLists.txt:[0-9]+ \(project\):
  Generator

    .*

  does not support platform specification, but platform

    Bad Platform

  was specified.$