[CMake] Move link dependencies where they are used.
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 29 Mar 2019 17:47:26 +0000 (17:47 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 29 Mar 2019 17:47:26 +0000 (17:47 +0000)
commit4d63d8cf75148e8316712c9d5dd0d1d192aa7b27
treea6b116aebf72dc284392302f637bdbc06bf6a370
parentdee8a143896e2bbccccdc7662a029bab9379dec9
[CMake] Move link dependencies where they are used.

The utility library shouldn't depend on curses, libedit or python. Move
curses to core, libedit to host and python to the python plugin.

Differential revision: https://reviews.llvm.org/D59970

llvm-svn: 357287
lldb/source/Core/CMakeLists.txt
lldb/source/Host/CMakeLists.txt
lldb/source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
lldb/source/Utility/CMakeLists.txt