[Lldb-commits] [lldb] b0cb98b - [lldb/Plugins] Conditionally build OperatingSystemPython.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 17 21:28:54 PST 2020
Author: Jonas Devlieghere
Date: 2020-02-17T21:22:37-08:00
New Revision: b0cb98b1f5d53cbce66652fa2894c55db61965a4
URL: https://github.com/llvm/llvm-project/commit/b0cb98b1f5d53cbce66652fa2894c55db61965a4
DIFF: https://github.com/llvm/llvm-project/commit/b0cb98b1f5d53cbce66652fa2894c55db61965a4.diff
LOG: [lldb/Plugins] Conditionally build OperatingSystemPython.
Only build the Python Operating System Plugin when LLDB_ENABLE_PYTHON is
set to true.
Added:
Modified:
lldb/source/Plugins/OperatingSystem/CMakeLists.txt
Removed:
################################################################################
diff --git a/lldb/source/Plugins/OperatingSystem/CMakeLists.txt b/lldb/source/Plugins/OperatingSystem/CMakeLists.txt
index 655007a0aab9..06d909b862a0 100644
--- a/lldb/source/Plugins/OperatingSystem/CMakeLists.txt
+++ b/lldb/source/Plugins/OperatingSystem/CMakeLists.txt
@@ -1 +1,3 @@
-add_subdirectory(Python)
+if (LLDB_ENABLE_PYTHON)
+ add_subdirectory(Python)
+endif()
More information about the lldb-commits
mailing list