Merge topic 'FindCurses-remove-unused-check'

b4005a3a FindCurses: Drop unused check for cbreak in tinfo library
This commit is contained in:
Brad King 2015-02-23 10:26:32 -05:00 committed by CMake Topic Stage
commit ae7c5f05c3
1 changed files with 0 additions and 2 deletions

View File

@ -128,8 +128,6 @@ if(CURSES_USE_NCURSES)
if(NOT CURSES_NCURSES_HAS_CBREAK)
find_library(CURSES_EXTRA_LIBRARY tinfo HINTS "${_cursesLibDir}")
find_library(CURSES_EXTRA_LIBRARY tinfo )
CHECK_LIBRARY_EXISTS("${CURSES_EXTRA_LIBRARY}"
cbreak "" CURSES_TINFO_HAS_CBREAK)
endif()
else()
get_filename_component(_cursesLibDir "${CURSES_CURSES_LIBRARY}" PATH)