build: add libedit to include paths

Differential Revision: https://reviews.llvm.org/D51999

llvm-svn: 342757
This commit is contained in:
Tatyana Krasnukha 2018-09-21 18:34:41 +00:00
parent 19b5eb580b
commit c4bc88b541
3 changed files with 12 additions and 0 deletions

View File

@ -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()

View File

@ -174,3 +174,7 @@ add_lldb_library(lldbHost
Object
Support
)
if (NOT LLDB_DISABLE_LIBEDIT)
target_include_directories(lldbHost PUBLIC ${libedit_INCLUDE_DIRS})
endif()

View File

@ -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()