[PATCH] D51999: build: add libedit to include paths

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 21 11:36:06 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL342757: build: add libedit to include paths (authored by tkrasnukha, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D51999?vs=166507&id=166522#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D51999

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


Index: lldb/trunk/source/Interpreter/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Interpreter/CMakeLists.txt
+++ lldb/trunk/source/Interpreter/CMakeLists.txt
@@ -55,3 +55,7 @@
   LINK_COMPONENTS
     Support
   )
+
+if (NOT LLDB_DISABLE_LIBEDIT)
+  target_include_directories(lldbInterpreter PRIVATE ${libedit_INCLUDE_DIRS})
+endif()
\ No newline at end of file
Index: lldb/trunk/source/Host/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Host/CMakeLists.txt
+++ lldb/trunk/source/Host/CMakeLists.txt
@@ -174,3 +174,7 @@
     Object
     Support
   )
+
+if (NOT LLDB_DISABLE_LIBEDIT)
+  target_include_directories(lldbHost PUBLIC ${libedit_INCLUDE_DIRS})
+endif()
Index: lldb/trunk/source/Core/CMakeLists.txt
===================================================================
--- lldb/trunk/source/Core/CMakeLists.txt
+++ lldb/trunk/source/Core/CMakeLists.txt
@@ -80,3 +80,7 @@
 # Needed to properly resolve references in a debug build.
 # TODO: Remove once we have better layering
 set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)
+
+if (NOT LLDB_DISABLE_LIBEDIT)
+  target_include_directories(lldbCore PRIVATE ${libedit_INCLUDE_DIRS})
+endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51999.166522.patch
Type: text/x-patch
Size: 1289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180921/38d8caa5/attachment.bin>


More information about the llvm-commits mailing list