dsanders created this revision.
dsanders added a subscriber: lldb-commits.

http://reviews.llvm.org/D12900

Files:
  tools/lldb-server/CMakeLists.txt

Index: tools/lldb-server/CMakeLists.txt
===================================================================
--- tools/lldb-server/CMakeLists.txt
+++ tools/lldb-server/CMakeLists.txt
@@ -26,10 +26,19 @@
     LLDBServerUtilities.cpp
     )
 
-  target_link_libraries(lldb-server liblldb)
+  target_link_libraries(lldb-server liblldb dl)
   if (HAVE_LIBPTHREAD)
     target_link_libraries(lldb-server pthread)
   endif ()
+  if (LIBXML2_FOUND)
+    target_link_libraries(lldb-server xml2)
+  endif()
+  if (NOT LLDB_DISABLE_LIBEDIT)
+    target_link_libraries(lldb-server edit)
+  endif()
+  if (NOT LLDB_DISABLE_CURSES)
+    target_link_libraries(lldb-server ncurses panel)
+  endif()
 else()
   add_lldb_executable(lldb-server
     lldb-gdbserver.cpp


Index: tools/lldb-server/CMakeLists.txt
===================================================================
--- tools/lldb-server/CMakeLists.txt
+++ tools/lldb-server/CMakeLists.txt
@@ -26,10 +26,19 @@
     LLDBServerUtilities.cpp
     )
 
-  target_link_libraries(lldb-server liblldb)
+  target_link_libraries(lldb-server liblldb dl)
   if (HAVE_LIBPTHREAD)
     target_link_libraries(lldb-server pthread)
   endif ()
+  if (LIBXML2_FOUND)
+    target_link_libraries(lldb-server xml2)
+  endif()
+  if (NOT LLDB_DISABLE_LIBEDIT)
+    target_link_libraries(lldb-server edit)
+  endif()
+  if (NOT LLDB_DISABLE_CURSES)
+    target_link_libraries(lldb-server ncurses panel)
+  endif()
 else()
   add_lldb_executable(lldb-server
     lldb-gdbserver.cpp
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to