================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to