[lldb/CMake] Rename LLDB_DISABLE_PYTHON to LLDB_ENABLE_PYTHON

This matches the naming scheme used by LLVM and all the other optional
dependencies in LLDB.

Differential revision: https://reviews.llvm.org/D71482
This commit is contained in:
Jonas Devlieghere
2019-12-13 10:37:33 -08:00
parent 9cb7a1be2a
commit 4e26cf2cfb
29 changed files with 87 additions and 96 deletions

View File

@@ -8,7 +8,7 @@
#include "lldb/Host/Config.h"
#ifndef LLDB_DISABLE_PYTHON
#if LLDB_ENABLE_PYTHON
// LLDB Python header must be included first
#include "lldb-python.h"
@@ -3293,4 +3293,4 @@ void ScriptInterpreterPythonImpl::AddToSysPath(AddLocation location,
//
// void ScriptInterpreterPythonImpl::Terminate() { Py_Finalize (); }
#endif // LLDB_DISABLE_PYTHON
#endif