[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:
@@ -19,7 +19,7 @@
|
||||
#include "lldb/Utility/FileSpec.h"
|
||||
|
||||
#include "Plugins/ExpressionParser/Clang/ClangHost.h"
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
#include "Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h"
|
||||
#endif
|
||||
|
||||
@@ -61,7 +61,7 @@ SBFileSpec SBHostOS::GetLLDBPath(lldb::PathType path_type) {
|
||||
fspec = HostInfo::GetHeaderDir();
|
||||
break;
|
||||
case ePathTypePythonDir:
|
||||
#ifndef LLDB_DISABLE_PYTHON
|
||||
#if LLDB_ENABLE_PYTHON
|
||||
fspec = ScriptInterpreterPython::GetPythonDir();
|
||||
#endif
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user