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
This commit is contained in:
Chandler Carruth 2010-07-22 06:27:45 +00:00
parent 89ba74d117
commit 8a89a6ae9c
2 changed files with 2 additions and 2 deletions

View File

@ -45,4 +45,4 @@ add_llvm_target(ARMCodeGen
Thumb2SizeReduction.cpp
)
target_link_libraries (LLVMARMCodeGen LLVMSelectionDAG)
target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG)

View File

@ -50,4 +50,4 @@ endif()
add_llvm_target(X86CodeGen ${sources})
target_link_libraries (LLVMX86CodeGen LLVMSelectionDAG)
target_link_libraries (LLVMX86CodeGen LLVMX86AsmPrinter LLVMSelectionDAG)