summaryrefslogtreecommitdiffstats
path: root/lldb/cmake/modules/FindPythonInterpAndLibs.cmake
Commit message (Collapse)AuthorAgeFilesLines
* [lldb/CMake] Only auto-enable Python when SWIG is foundJonas Devlieghere2020-01-071-29/+37
| | | | | | | | | As correctly pointed out by Martin on the mailing list, Python should only be auto-enabled if SWIG is found as well. This moves the logic of finding SWIG into FindPythonInterpAndLibs to make that possible. To make diagnosing easier I've included a status message to convey why Python support is disabled.
* [lldb/CMake] Autodetect Python dependencyJonas Devlieghere2020-01-061-0/+51
Python was the last remaining "optional" dependency for LLDB. This moves the code to find Python into FindPythonInterpAndLibs using the same principles as FindCursesAndPanel. Differential revision: https://reviews.llvm.org/D72107
OpenPOWER on IntegriCloud