--- tools/lldb/cmake/LLDBDependencies.cmake 2015/09/16 20:13:53 247841 | |
+++ tools/lldb/cmake/LLDBDependencies.cmake 2015/09/16 20:14:01 247842 | |
@@ -141,6 +141,9 @@ | |
endif() | |
if (NOT LLDB_DISABLE_CURSES) | |
list(APPEND LLDB_SYSTEM_LIBS panel ncurses) | |
+ if(LLVM_ENABLE_TERMINFO AND HAVE_TERMINFO) | |
+ list(APPEND LLDB_SYSTEM_LIBS ${TERMINFO_LIBS}) | |
+ endif() | |
endif() | |
endif() | |
# On FreeBSD backtrace() is provided by libexecinfo, not libc. |