remove CMakeCache.txt and rerun cmake.on Redhat and derivates it is ncurses-devel.
--CouldNOTfindCurses(missing:CURSES_LIBRARYCURSES_INCLUDE_PATH)CMakeErroratcmake/readline.cmake:83(MESSAGE):Curseslibrarynotfound.Pleaseinstallappropriatepackage,removeCMakeCache.txtandreruncmake.OnDe