|
|
|
@ -23,10 +23,10 @@ IF(CURSES_NEED_WIDE)
|
|
|
|
|
ENDIF(CURSES_NEED_WIDE)
|
|
|
|
|
|
|
|
|
|
FIND_LIBRARY(CURSES_CURSES_LIBRARY "${CURSES_LIBRARY_NAME}")
|
|
|
|
|
# MESSAGE(STATUS "CURSES! " ${CURSES_CURSES_LIBRARY})
|
|
|
|
|
#MESSAGE(STATUS "CURSES! " ${CURSES_CURSES_LIBRARY})
|
|
|
|
|
|
|
|
|
|
FIND_LIBRARY(CURSES_NCURSES_LIBRARY "${NCURSES_LIBRARY_NAME}")
|
|
|
|
|
# MESSAGE(STATUS "NCURSES! " ${CURSES_NCURSES_LIBRARY})
|
|
|
|
|
#MESSAGE(STATUS "NCURSES! " ${CURSES_NCURSES_LIBRARY})
|
|
|
|
|
|
|
|
|
|
SET(CURSES_USE_NCURSES FALSE)
|
|
|
|
|
|
|
|
|
@ -58,7 +58,6 @@ IF(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES)
|
|
|
|
|
SET(CURSES_USE_NCURSES TRUE)
|
|
|
|
|
ENDIF( CURSES_NCURSES_HAS_WSYNCUP)
|
|
|
|
|
ENDIF(CURSES_NCURSES_LIBRARY AND NOT CURSES_CURSES_HAS_WSYNCUP)
|
|
|
|
|
|
|
|
|
|
ENDIF(CURSES_CURSES_LIBRARY AND CURSES_NEED_NCURSES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -104,7 +103,6 @@ ELSE(NOT CURSES_USE_NCURSES)
|
|
|
|
|
# only put ncurses include and library into
|
|
|
|
|
# variables if they are found
|
|
|
|
|
IF(CURSES_NCURSES_INCLUDE_PATH AND CURSES_NCURSES_LIBRARY)
|
|
|
|
|
|
|
|
|
|
SET(CURSES_INCLUDE_PATH "${CURSES_NCURSES_INCLUDE_PATH} ${CURSES_NCURSESW_INCLUDE_PATH}"
|
|
|
|
|
CACHE FILEPATH "The curses include path")
|
|
|
|
|
SET(CURSES_LIBRARY "${CURSES_NCURSES_LIBRARY}"
|
|
|
|
|