cmake script case fixed