diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt index d7b4f2587a98b..9073e3e9b2ee3 100644 --- a/lldb/source/Core/CMakeLists.txt +++ b/lldb/source/Core/CMakeLists.txt @@ -12,7 +12,7 @@ set(LLDB_LIBEDIT_LIBS) if (LLDB_ENABLE_CURSES) list(APPEND LLDB_CURSES_LIBS ${PANEL_LIBRARIES} ${CURSES_LIBRARIES}) if(LLVM_ENABLE_TERMINFO) - list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIB}) + list(APPEND LLDB_CURSES_LIBS ${Terminfo_LIBRARIES}) endif() if (LLVM_BUILD_STATIC) list(APPEND LLDB_CURSES_LIBS gpm)