build: use `find_package(Python3)` rather than `PYTHON_HOME`
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 23 Dec 2019 04:45:46 +0000 (20:45 -0800)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 23 Dec 2019 04:47:25 +0000 (20:47 -0800)
commitb449d19e55888ab9554b04184c6d9716389820fd
treea950a2f2e3dc00d44cd30abb09d7ed819f79dc77
parentda0fe5db999baa659c2e386e5b0636dadfbbf759
build: use `find_package(Python3)` rather than `PYTHON_HOME`

The behaviour of `PYTHON_HOME` can be emulated by setting
`Python3_EXECUTABLE` to the absolute path instead of the custom variable
now that we can find the python interpreter.
lldb/cmake/modules/LLDBConfig.cmake