Disable curses support for cmake
Merge pull request #3007 from pimvullers/cmake_nocurses

Disable curses support for cmake