[lldb/CMake] Simplify logic for adding example Python packages (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Dec 2019 20:25:03 +0000 (12:25 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 2 Dec 2019 21:03:24 +0000 (13:03 -0800)
commite5290a06d6c23bd222543cb9b689a199343021a7
tree298e81fe2a978adb7b51fc2026bba90e79f6680e
parent82039cbc8d2a0f6fb5995f54e0e42919999bcfd0
[lldb/CMake] Simplify logic for adding example Python packages (NFC)

This simplifies the CMake logic for adding the Python examples to the
Python package. It unifies the use of create_python_package by adding
the NOINIT option and removes the `target` argument, which is always
`finish_swig`.
lldb/CMakeLists.txt