[Lldb-commits] [PATCH] D36358: [lldb] [cmake] Add explicit linkage from Core to curses

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 17 13:35:12 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311122: [cmake] Add explicit linkage from Core to curses (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D36358?vs=109897&id=111561#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D36358

Files:
  lldb/trunk/source/Core/CMakeLists.txt


Index: lldb/trunk/source/Core/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Core/CMakeLists.txt
+++ lldb/trunk/source/Core/CMakeLists.txt
@@ -1,3 +1,12 @@
+set(LLDB_CURSES_LIBS)
+
+if (NOT LLDB_DISABLE_CURSES)
+  list(APPEND LLDB_CURSES_LIBS ${CURSES_LIBRARIES})
+  if(LLVM_ENABLE_TERMINFO AND HAVE_TERMINFO)
+    list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIBS})
+  endif()
+endif()
+
 add_lldb_library(lldbCore
   Address.cpp
   AddressRange.cpp
@@ -62,6 +71,7 @@
     lldbPluginCPlusPlusLanguage
     lldbPluginObjCLanguage
     lldbPluginObjectFileJIT
+    ${LLDB_CURSES_LIBS}
 
   LINK_COMPONENTS
     BinaryFormat


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36358.111561.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170817/c7726191/attachment.bin>


More information about the lldb-commits mailing list