Skip to content

Commit c4bc88b

Browse files
committedSep 21, 2018
build: add libedit to include paths
Differential Revision: https://reviews.llvm.org/D51999 llvm-svn: 342757
1 parent 19b5eb5 commit c4bc88b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed
 

‎lldb/source/Core/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@ add_lldb_library(lldbCore
8080
# Needed to properly resolve references in a debug build.
8181
# TODO: Remove once we have better layering
8282
set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)
83+
84+
if (NOT LLDB_DISABLE_LIBEDIT)
85+
target_include_directories(lldbCore PRIVATE ${libedit_INCLUDE_DIRS})
86+
endif()

‎lldb/source/Host/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,7 @@ add_lldb_library(lldbHost
174174
Object
175175
Support
176176
)
177+
178+
if (NOT LLDB_DISABLE_LIBEDIT)
179+
target_include_directories(lldbHost PUBLIC ${libedit_INCLUDE_DIRS})
180+
endif()

‎lldb/source/Interpreter/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ add_lldb_library(lldbInterpreter
5555
LINK_COMPONENTS
5656
Support
5757
)
58+
59+
if (NOT LLDB_DISABLE_LIBEDIT)
60+
target_include_directories(lldbInterpreter PRIVATE ${libedit_INCLUDE_DIRS})
61+
endif()

0 commit comments

Comments
 (0)
Please sign in to comment.