[Lldb-commits] [lldb] [lldb] Add terminfo dependency for ncurses support (PR #126810)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 14 16:24:00 PST 2025
================
@@ -11,6 +11,9 @@ set(LLDB_LIBEDIT_LIBS)
if (LLDB_ENABLE_CURSES)
list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES})
+ if(NOT CURSES_HAS_TINFO)
+ list(APPEND LLDB_CURSES_LIBS ${TINFO_LIBRARIES})
+ endif()
----------------
JDevlieghere wrote:
How about we append `TINFO_LIBRARIES` to `CURSES_LIBRARIES`? That way we don't need this at all, and nobody needs to know about `$CURSES_HAS_TINFO`?
https://github.com/llvm/llvm-project/pull/126810
More information about the lldb-commits
mailing list