Merge branch 'FindCurses-remove-unused-check' into release
This commit is contained in:
commit
d95d4c2c77
|
@ -128,8 +128,6 @@ if(CURSES_USE_NCURSES)
|
||||||
if(NOT CURSES_NCURSES_HAS_CBREAK)
|
if(NOT CURSES_NCURSES_HAS_CBREAK)
|
||||||
find_library(CURSES_EXTRA_LIBRARY tinfo HINTS "${_cursesLibDir}")
|
find_library(CURSES_EXTRA_LIBRARY tinfo HINTS "${_cursesLibDir}")
|
||||||
find_library(CURSES_EXTRA_LIBRARY tinfo )
|
find_library(CURSES_EXTRA_LIBRARY tinfo )
|
||||||
CHECK_LIBRARY_EXISTS("${CURSES_EXTRA_LIBRARY}"
|
|
||||||
cbreak "" CURSES_TINFO_HAS_CBREAK)
|
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
get_filename_component(_cursesLibDir "${CURSES_CURSES_LIBRARY}" PATH)
|
get_filename_component(_cursesLibDir "${CURSES_CURSES_LIBRARY}" PATH)
|
||||||
|
|
Loading…
Reference in New Issue