Find the curses or ncurses include file and library.
This module defines the following variables:
CURSES_FOUND
CURSES_INCLUDE_DIRS
CURSES_LIBRARIES
CURSES_HAVE_CURSES_H
CURSES_HAVE_NCURSES_H
CURSES_HAVE_NCURSES_NCURSES_H
ncurses/ncurses.h
is available.CURSES_HAVE_NCURSES_CURSES_H
ncurses/curses.h
is available.Set CURSES_NEED_NCURSES
to TRUE
before the find_package(Curses)
call if NCurses functionality is required.
The following variable are provided for backward compatibility:
CURSES_INCLUDE_DIR
CURSES_INCLUDE_DIRS
instead.CURSES_LIBRARY
CURSES_LIBRARIES
instead.
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.7/module/FindCurses.html