lldb: use the newer `find_package` if available
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 29 Apr 2020 03:49:51 +0000 (03:49 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 29 Apr 2020 03:54:33 +0000 (03:54 +0000)
commit7c8fa95395e719f9a2c211ee0f574ac9ef88a19d
tree184f9608d9522a1985551ebc85d25b917595b1fb
parent9f8b4472fb601fcee84613a558f8d734314d98b5
lldb: use the newer `find_package` if available

Now that the rest of LLVM prefers python3 over python2, the LLDB path
should follow suite.  Add a fallback path to python2 for non-Windows
targets.
lldb/cmake/modules/FindPythonInterpAndLibs.cmake