summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt b/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
index dc2a27d95a3..5d8642eb07e 100644
--- a/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
+++ b/lldb/source/Plugins/ScriptInterpreter/CMakeLists.txt
@@ -1,2 +1,4 @@
add_subdirectory(None)
-add_subdirectory(Python)
+if (NOT LLDB_DISABLE_PYTHON)
+ add_subdirectory(Python)
+endif()
OpenPOWER on IntegriCloud