[lldb] add terminfo name (#191740)
Fixes #191532 This PR just adds terminfo next to tinfo in FindCursesAndPanel.cmake since NetBSD uses a separate library terminfo that LLDB’s CMake did not look for (see #191532).
This commit is contained in:
committed by
GitHub
parent
fb3ab402c1
commit
c3bd0c1294
@@ -40,7 +40,7 @@ else()
|
||||
CURSES_HAS_TINFO)
|
||||
if(NOT CURSES_HAS_TINFO)
|
||||
message(STATUS "curses library missing terminfo symbols, looking for tinfo separately")
|
||||
find_library(TINFO_LIBRARIES NAMES tinfo DOC "The curses tinfo library" QUIET)
|
||||
find_library(TINFO_LIBRARIES NAMES tinfo terminfo DOC "The curses tinfo library" QUIET)
|
||||
list(APPEND CURSES_LIBRARIES "${TINFO_LIBRARIES}")
|
||||
endif()
|
||||
set(HAS_TERMINFO_SYMBOLS "$<OR:$<BOOL:${TERMINFO_LIBRARIES}>,$<BOOL:${CURSES_HAS_TINFO}>>")
|
||||
|
||||
Reference in New Issue
Block a user