From: Chandler Carruth Date: Thu, 22 Jul 2010 06:27:45 +0000 (+0000) Subject: Attempt to fix linking issues with CMake. Please review other CMake users, X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8a89a6ae9c3fb524cda60768e094ba481ac17be1;p=oota-llvm.git Attempt to fix linking issues with CMake. Please review other CMake users, 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 --- diff --git a/lib/Target/ARM/CMakeLists.txt b/lib/Target/ARM/CMakeLists.txt index db8087ca1f6..5e15b205cd7 100644 --- a/lib/Target/ARM/CMakeLists.txt +++ b/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/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index ca71709d440..8f19a7141b4 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/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)