Hi Vadim,
Would you mind taking a look at this? My CMake-fu is only level 5, so if you have any suggestions on how to improve this, let me know.
Note that I'm claiming with this revision that LLDB itself works with Python versions other than 2.7. Only that CMake can set all the variables appropriately if you point it to a different version of CMake
This will only set LLDB_DISABLE_PYTHON inside the function, you probably want to do set (LLDB_DISABLE_PYTHON 1 PARENT_SCOPE), or set (LLDB_DISABLE_PYTHON 1 CACHE INTERNAL "") instead.