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() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits