Remove yet another buried and hidden implicit dependency: every single
authorChandler Carruth <chandlerc@gmail.com>
Sat, 30 Jul 2011 08:47:05 +0000 (08:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 30 Jul 2011 08:47:05 +0000 (08:47 +0000)
commitc58247da7020e7ee4db0abc91fedc93582e6a9d5
treec9eb157f50df2fb2eccacd1c5d8af4cefac5c663
parent10c6d12a9fd4dab411091f64db4db69670b88850
Remove yet another buried and hidden implicit dependency: every single
sub-library for the targets depended on the core target CodeGen library.
This completely undermined the careful work to separate the those
libraries, especially the MC-layer ones. This surfaced as circular
dependencies when the libraries were built as shared libraries where
CMake doesn't allow cycles.

This should fix PR10537. I'll watch the bots to see if there is fallout
on other platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136565 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake