summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/CMakeLists.txt')
-rw-r--r--lldb/source/Core/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt
index 25ce5183571..ff2355a3927 100644
--- a/lldb/source/Core/CMakeLists.txt
+++ b/lldb/source/Core/CMakeLists.txt
@@ -98,7 +98,7 @@ add_dependencies(lldbCore
# TODO: Remove once we have better layering
set_target_properties(lldbCore PROPERTIES LINK_INTERFACE_MULTIPLICITY 4)
-if (NOT LLDB_DISABLE_LIBEDIT)
+if (LLDB_ENABLE_LIBEDIT)
target_include_directories(lldbCore PRIVATE ${libedit_INCLUDE_DIRS})
endif()
OpenPOWER on IntegriCloud