Find the curses or ncurses include file and library.
This module defines the following variables:
CURSES_FOUNDTrue if Curses is found.
CURSES_INCLUDE_DIRSThe include directories needed to use Curses.
CURSES_LIBRARIESThe libraries needed to use Curses.
CURSES_CFLAGSAdded in version 3.16.
Parameters which ought be given to C/C++ compilers when using Curses.
CURSES_HAVE_CURSES_HTrue if curses.h is available.
CURSES_HAVE_NCURSES_HTrue if ncurses.h is available.
CURSES_HAVE_NCURSES_NCURSES_HTrue if ncurses/ncurses.h is available.
CURSES_HAVE_NCURSES_CURSES_HTrue if ncurses/curses.h is available.
Set CURSES_NEED_NCURSES to TRUE before the
find_package(Curses) call if NCurses functionality is required.
Added in version 3.10: Set CURSES_NEED_WIDE to TRUE before the
find_package(Curses) call if unicode functionality is required.
The following variable are provided for backward compatibility:
CURSES_INCLUDE_DIRPath to Curses include. Use CURSES_INCLUDE_DIRS instead.
CURSES_LIBRARYPath to Curses library. Use CURSES_LIBRARIES instead.