diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-12 09:22:34 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-12 09:23:06 -0800 |
commit | 62456e579eebe012e5a6ebcf9960aef9d7babf87 (patch) | |
tree | 7b004c3d296986f9d8734dbd27ecab558f9362c9 /lldb/source/Host | |
parent | bd12a322d7e0b2541880c00f5551e047e06be982 (diff) | |
download | bcm5719-llvm-62456e579eebe012e5a6ebcf9960aef9d7babf87.tar.gz bcm5719-llvm-62456e579eebe012e5a6ebcf9960aef9d7babf87.zip |
[lldb/CMake] Rename LLDB_DISABLE_LIBEDIT to LLDB_ENABLE_LIBEDIT
This matches the naming scheme used by LLVM.
Differential revision: https://reviews.llvm.org/D71380
Diffstat (limited to 'lldb/source/Host')
-rw-r--r-- | lldb/source/Host/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Host/CMakeLists.txt b/lldb/source/Host/CMakeLists.txt index ff849e2743d..2da0b939bd4 100644 --- a/lldb/source/Host/CMakeLists.txt +++ b/lldb/source/Host/CMakeLists.txt @@ -52,7 +52,7 @@ add_host_subdirectory(common common/XML.cpp ) -if (NOT LLDB_DISABLE_LIBEDIT) +if (LLDB_ENABLE_LIBEDIT) add_host_subdirectory(common common/Editline.cpp ) @@ -155,14 +155,14 @@ endif () if (HAVE_LIBDL) list(APPEND EXTRA_LIBS ${CMAKE_DL_LIBS}) endif() -if (NOT LLDB_DISABLE_LIBEDIT) +if (LLDB_ENABLE_LIBEDIT) list(APPEND EXTRA_LIBS ${libedit_LIBRARIES}) endif() if (LLDB_ENABLE_LZMA) list(APPEND EXTRA_LIBS ${LIBLZMA_LIBRARIES}) endif() -if (NOT LLDB_DISABLE_LIBEDIT) +if (LLDB_ENABLE_LIBEDIT) list(APPEND LLDB_LIBEDIT_LIBS ${libedit_LIBRARIES}) if (LLVM_BUILD_STATIC) list(APPEND LLDB_SYSTEM_LIBS gpm) @@ -183,6 +183,6 @@ add_lldb_library(lldbHost Support ) -if (NOT LLDB_DISABLE_LIBEDIT) +if (LLDB_ENABLE_LIBEDIT) target_include_directories(lldbHost PUBLIC ${libedit_INCLUDE_DIRS}) endif() |