FindCurses¶
Find the curses or ncurses include file and library.
Result Variables¶
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_CFLAGSNew 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.his available.CURSES_HAVE_NCURSES_CURSES_HTrue if
ncurses/curses.his available.
Set CURSES_NEED_NCURSES to TRUE before the
find_package(Curses) call if NCurses functionality is required.
New in version 3.10: Set CURSES_NEED_WIDE to TRUE before the
find_package(Curses) call if unicode functionality is required.
Backward Compatibility¶
The following variable are provided for backward compatibility:
CURSES_INCLUDE_DIRPath to Curses include. Use
CURSES_INCLUDE_DIRSinstead.CURSES_LIBRARYPath to Curses library. Use
CURSES_LIBRARIESinstead.