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

llvm-svn: 74285
This commit is contained in:
Douglas Gregor 2009-06-26 15:37:00 +00:00
parent 1d88779e2f
commit 6d94e6a5f3
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)