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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits