aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/CMakeLists.txt
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-09-28 22:39:14 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-09-28 22:39:14 +0000
commit3609eb0de2f786ca6917d0388c37c23873dbd247 (patch)
tree4161cae699669172dfe5d8f311eed713e5223e7f /lib/Target/ARM/CMakeLists.txt
parent44258d1da62d9b268d4ce31ddbe16e3ee3789cab (diff)
Removed a bunch of unnecessary target_link_libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/CMakeLists.txt')
-rw-r--r--lib/Target/ARM/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt
index 8bd0c06507..49120588e3 100644
--- a/lib/Target/ARM/CMakeLists.txt
+++ b/lib/Target/ARM/CMakeLists.txt
@@ -49,4 +49,7 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
-target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)
+# The ARM CodeGen library depends on the AsmPrinter for just an
+# vtable, but GenLibDeps.pl is unable to detect it. So without this
+# the build fails with "undefined reference to `vtable for ..."
+target_link_libraries(LLVMARMCodeGen LLVMARMAsmPrinter)