summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2010-07-22 06:27:45 +0000
committerChandler Carruth <chandlerc@gmail.com>2010-07-22 06:27:45 +0000
commit3180f9f55f0c18c4070540faa564e76c360569af (patch)
tree2ffa79522d4935238d475b517e46a43a5a6880b6 /llvm/lib/Target
parentbf32e54bac9d42dfec82ca4aefdf7bb42a023db2 (diff)
downloadbcm5719-llvm-3180f9f55f0c18c4070540faa564e76c360569af.tar.gz
bcm5719-llvm-3180f9f55f0c18c4070540faa564e76c360569af.zip
Attempt to fix linking issues with CMake. Please review other CMake users,
especially on other platforms. Is there a better way to fix this. llvm-svn: 109084
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/CMakeLists.txt2
-rw-r--r--llvm/lib/Target/X86/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/CMakeLists.txt b/llvm/lib/Target/ARM/CMakeLists.txt
index db8087ca1f6..5e15b205cd7 100644
--- a/llvm/lib/Target/ARM/CMakeLists.txt
+++ b/llvm/lib/Target/ARM/CMakeLists.txt
@@ -45,4 +45,4 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
-target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)
+target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)
diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt
index ca71709d440..8f19a7141b4 100644
--- a/llvm/lib/Target/X86/CMakeLists.txt
+++ b/llvm/lib/Target/X86/CMakeLists.txt
@@ -50,4 +50,4 @@ endif()
add_llvm_target(X86CodeGen ${sources})
-target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)
+target_link_libraries (LLVMX86CodeGen LLVMX86AsmPrinter LLVMSelectionDAG)
OpenPOWER on IntegriCloud