Attempt to fix linking issues with CMake. Please review other CMake users,
authorChandler Carruth <chandlerc@gmail.com>
Thu, 22 Jul 2010 06:27:45 +0000 (06:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 22 Jul 2010 06:27:45 +0000 (06:27 +0000)
especially on other platforms. Is there a better way to fix this.

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

lib/Target/ARM/CMakeLists.txt
lib/Target/X86/CMakeLists.txt

index db8087ca1f698741ec4f5d2a901f39e272f159a8..5e15b205cd78297160b8ca503f0a2dba80dd760c 100644 (file)
@@ -45,4 +45,4 @@ add_llvm_target(ARMCodeGen
   Thumb2SizeReduction.cpp
   )
 
-target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)
+target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)
index ca71709d4408305191a9c5f89747c2ad78dfa55f..8f19a7141b44a1e61066d13f006e649d5a9bae81 100644 (file)
@@ -50,4 +50,4 @@ endif()
 
 add_llvm_target(X86CodeGen ${sources})
 
-target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)
+target_link_libraries (LLVMX86CodeGen LLVMX86AsmPrinter LLVMSelectionDAG)