Skip to content
Snippets Groups Projects
Commit 29d171df authored by bigbes's avatar bigbes
Browse files

Fixing bug with headers for curses and termcap

parent a30d2c8e
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ SET(READLINE_FOUND FALSE)
IF (READLINE_HISTORY_LIBRARY AND READLINE_READLINE_LIBRARY AND READLINE_INCLUDE_DIR)
SET (READLINE_FOUND TRUE)
SET (READLINE_INCLUDE_DIR ${CURSES_INCLUDE_DIR} ${READLINE_INCLUDE_DIR})
SET (READLINE_INCLUDE_DIR ${READLINE_INCLUDE_DIR})
SET (READLINE_LIBRARIES ${READLINE_HISTORY_LIBRARY} ${READLINE_READLINE_LIBRARY})
MESSAGE(STATUS "Found GNU readline: ${READLINE_HISTORY_LIBRARY}, ${READLINE_READLINE_LIBRARY}")
IF (CURSES_FOUND)
......
......@@ -8,7 +8,7 @@ FIND_LIBRARY(TERMCAP_LIBRARY NAMES termcap)
FIND_PATH(TERMCAP_INCLUDE_DIR NAMES termcap.h)
SET (TERMCAP_FOUND FALSE)
IF (TERMCAP_LIBRARY AND TERMCAP_INCLUDE_DIR)
IF (TERMCAP_LIBRARY)
SET (TERMCAP_FOUND TRUE)
MESSAGE(STATUS "Found Termcap: ${TERMCAP_LIBRARY}")
ENDIF ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment