[lldb] Add a cmake warning about the python/swig incompatibility
authorPavel Labath <pavel@labath.sk>
Wed, 7 Oct 2020 14:36:32 +0000 (16:36 +0200)
committerPavel Labath <pavel@labath.sk>
Thu, 8 Oct 2020 16:42:50 +0000 (18:42 +0200)
commitd4a7c70751cf5c0b0ce344555e3966ddc80290d2
tree32a35e344ee458f01c4b78a645aa36aa4a1b5106
parent4424d2428aebd3537d3f5a3625acb65edfb5d11f
[lldb] Add a cmake warning about the python/swig incompatibility

Raise awareness of the fact that some versions of swig and python (and
build types) just don't mix.

One day this will be a reason to require swig>=4.0, but this version is
too hot off the press right now..

Differential Revision: https://reviews.llvm.org/D88967
lldb/cmake/modules/FindPythonAndSwig.cmake