From f9cfece4e841319f868ef5eac1d5350c35f2bf19 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 24 Aug 2017 16:35:38 +0000 Subject: Vendor import of lldb release_50 branch r311606: https://llvm.org/svn/llvm-project/lldb/branches/release_50@311606 --- source/Core/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/Core') diff --git a/source/Core/CMakeLists.txt b/source/Core/CMakeLists.txt index c5105bd9ab12b..c345afb4064ad 100644 --- a/source/Core/CMakeLists.txt +++ b/source/Core/CMakeLists.txt @@ -1,3 +1,12 @@ +set(LLDB_CURSES_LIBS) + +if (NOT LLDB_DISABLE_CURSES) + list(APPEND LLDB_CURSES_LIBS ${CURSES_LIBRARIES}) + if(LLVM_ENABLE_TERMINFO AND HAVE_TERMINFO) + list(APPEND LLDB_CURSES_LIBS ${TERMINFO_LIBS}) + endif() +endif() + add_lldb_library(lldbCore Address.cpp AddressRange.cpp @@ -62,6 +71,7 @@ add_lldb_library(lldbCore lldbPluginCPlusPlusLanguage lldbPluginObjCLanguage lldbPluginObjectFileJIT + ${LLDB_CURSES_LIBS} LINK_COMPONENTS BinaryFormat -- cgit v1.2.3