Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lldb/cmake/modules/LLDBConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ if (LLDB_ENABLE_PYTHON)
endif()
option(LLDB_ENABLE_PYTHON_LIMITED_API "Force LLDB to only use the Python Limited API (requires SWIG 4.2 or later)"
${default_enable_python_limited_api})
else()
# Even if Python scripting is disabled, we still need a Python interpreter to
# build, for example to generate SBLanguages.h.
find_package(Python3 COMPONENTS Interpreter REQUIRED)
endif()

if (LLVM_EXTERNAL_CLANG_SOURCE_DIR)
Expand Down
Loading