Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Douglas Gregor 2009-06-26 15:37:00 +00:00
parent c7077c7015
commit 8947881444
5 changed files with 10 additions and 0 deletions

View File

@ -33,3 +33,5 @@ add_llvm_library(LLVMAnalysis
Trace.cpp
ValueTracking.cpp
)
target_link_libraries (LLVMAnalysis LLVMSupport)

View File

@ -63,3 +63,5 @@ add_llvm_library(LLVMCodeGen
VirtRegMap.cpp
VirtRegRewriter.cpp
)
target_link_libraries (LLVMCodeGen LLVMCore)

View File

@ -30,3 +30,5 @@ add_llvm_library(LLVMSupport
Triple.cpp
raw_ostream.cpp
)
target_link_libraries (LLVMSupport LLVMSystem)

View File

@ -31,3 +31,5 @@ add_llvm_library(LLVMScalarOpts
TailDuplication.cpp
TailRecursionElimination.cpp
)
target_link_libraries (LLVMScalarOpts LLVMTransformUtils)

View File

@ -25,3 +25,5 @@ add_llvm_library(LLVMTransformUtils
ValueMapper.cpp
InstructionNamer.cpp
)
target_link_libraries (LLVMTransformUtils LLVMSupport)