Fix the CMake shared build.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 23 Mar 2015 15:55:00 +0000 (15:55 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 23 Mar 2015 15:55:00 +0000 (15:55 +0000)
commite13f47e8aa38a977c7dbfa950c4fb55ffdad5f1c
tree89fb90f1f3df0e6a4b433463b3d5ea027639a31d
parent30b8cd331e93fbb8a3ce36a8eb8a4e7cc21667e9
Fix the CMake shared build.

The ELF backends now depend on lld::script::Sema, which is in libReaderWriter.
Link it explicitly.

llvm-svn: 232953
lld/lib/ReaderWriter/ELF/AArch64/CMakeLists.txt
lld/lib/ReaderWriter/ELF/ARM/CMakeLists.txt
lld/lib/ReaderWriter/ELF/CMakeLists.txt
lld/lib/ReaderWriter/ELF/Hexagon/CMakeLists.txt
lld/lib/ReaderWriter/ELF/Mips/CMakeLists.txt
lld/lib/ReaderWriter/ELF/X86/CMakeLists.txt
lld/lib/ReaderWriter/ELF/X86_64/CMakeLists.txt
lld/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/CMakeLists.txt