Skip to content
Snippets Groups Projects
Commit f5673f4f authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

cmake: gh-747, post-merge fixes (a bit shorter) status output)

parent 2fb01099
No related branches found
No related tags found
No related merge requests found
......@@ -29,12 +29,12 @@ IF (READLINE_READLINE_LIBRARY AND READLINE_INCLUDE_DIR)
SET (READLINE_INCLUDE_DIR ${READLINE_INCLUDE_DIR})
SET (READLINE_LIBRARIES ${READLINE_READLINE_LIBRARY})
IF (EXISTS ${READLINE_INCLUDE_DIR}/readline/rlconf.h)
MESSAGE(STATUS "Found GNU readline")
set(HAVE_GNU_READLINE 1)
set(libname "GNU readline")
ELSE()
MESSAGE(STATUS "Found readline")
set(libname "readline")
ENDIF ()
MESSAGE(STATUS "readline library: ${READLINE_READLINE_LIBRARY}, include dir ${READLINE_INCLUDE_DIR}")
MESSAGE(STATUS "Found ${libname}: ${READLINE_READLINE_LIBRARY}, include dir ${READLINE_INCLUDE_DIR}")
IF (TERMCAP_FOUND)
SET (READLINE_LIBRARIES ${READLINE_LIBRARIES} ${TERMCAP_LIBRARY})
ENDIF (TERMCAP_FOUND)
......
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