[Lldb-commits] [lldb] r342757 - build: add libedit to include paths
Tatyana Krasnukha via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 21 11:34:42 PDT 2018
Author: tkrasnukha
Date: Fri Sep 21 11:34:41 2018
New Revision: 342757
URL: http://llvm.org/viewvc/llvm-project?rev=342757&view=rev
Log:
build: add libedit to include paths
Differential Revision: https://reviews.llvm.org/D51999
Modified:
lldb/trunk/source/Core/CMakeLists.txt
lldb/trunk/source/Host/CMakeLists.txt
lldb/trunk/source/Interpreter/CMakeLists.txt
Modified: lldb/trunk/source/Core/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/CMakeLists.txt?rev=342757&r1=342756&r2=342757&view=diff
==============================================================================
--- lldb/trunk/source/Core/CMakeLists.txt (original)
+++ lldb/trunk/source/Core/CMakeLists.txt Fri Sep 21 11:34:41 2018
@@ -80,3 +80,7 @@ add_lldb_library(lldbCore
# 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()
Modified: lldb/trunk/source/Host/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/CMakeLists.txt?rev=342757&r1=342756&r2=342757&view=diff
==============================================================================
--- lldb/trunk/source/Host/CMakeLists.txt (original)
+++ lldb/trunk/source/Host/CMakeLists.txt Fri Sep 21 11:34:41 2018
@@ -174,3 +174,7 @@ add_lldb_library(lldbHost
Object
Support
)
+
+if (NOT LLDB_DISABLE_LIBEDIT)
+ target_include_directories(lldbHost PUBLIC ${libedit_INCLUDE_DIRS})
+endif()
Modified: lldb/trunk/source/Interpreter/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CMakeLists.txt?rev=342757&r1=342756&r2=342757&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CMakeLists.txt (original)
+++ lldb/trunk/source/Interpreter/CMakeLists.txt Fri Sep 21 11:34:41 2018
@@ -55,3 +55,7 @@ add_lldb_library(lldbInterpreter
LINK_COMPONENTS
Support
)
+
+if (NOT LLDB_DISABLE_LIBEDIT)
+ target_include_directories(lldbInterpreter PRIVATE ${libedit_INCLUDE_DIRS})
+endif()
\ No newline at end of file
More information about the lldb-commits
mailing list