diff --git a/debuginfo-tests/CMakeLists.txt b/debuginfo-tests/CMakeLists.txt index 745e2384f363e5..addf13d50f49b7 100644 --- a/debuginfo-tests/CMakeLists.txt +++ b/debuginfo-tests/CMakeLists.txt @@ -2,6 +2,8 @@ # various types of debug info, and then run those programs under a debugger # such as GDB or LLDB to verify the results. +find_package(Python3 COMPONENTS Interpreter) + add_llvm_executable(check-gdb-llvm-support llvm-prettyprinters/gdb/llvm-support.cpp )