5 # Find the curses and panel library as a whole.
7 if(CURSES_INCLUDE_DIRS AND CURSES_LIBRARIES AND PANEL_LIBRARIES)
8 set(CURSESANDPANEL_FOUND TRUE)
10 find_package(Curses QUIET)
11 find_library(PANEL_LIBRARIES NAMES panel DOC "The curses panel library" QUIET)
12 include(FindPackageHandleStandardArgs)
13 find_package_handle_standard_args(CursesAndPanel
20 if(CURSES_FOUND AND PANEL_LIBRARIES)
21 mark_as_advanced(CURSES_INCLUDE_DIRS CURSES_LIBRARIES PANEL_LIBRARIES)