diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-08-24 16:35:38 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-08-24 16:35:38 +0000 |
commit | f9cfece4e841319f868ef5eac1d5350c35f2bf19 (patch) | |
tree | d16e96d2a76706c04b4caa77b1f193a4a19a6929 /source/Core | |
parent | e74d4ea48caeee19d9d7f8223340152a0fde11ef (diff) |
Notes
Diffstat (limited to 'source/Core')
-rw-r--r-- | source/Core/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
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 |