forked from OSchip/llvm-project
Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby
llvm-svn: 74285
This commit is contained in:
parent
1d88779e2f
commit
6d94e6a5f3
|
@ -33,3 +33,5 @@ add_llvm_library(LLVMAnalysis
|
|||
Trace.cpp
|
||||
ValueTracking.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMAnalysis LLVMSupport)
|
||||
|
|
|
@ -63,3 +63,5 @@ add_llvm_library(LLVMCodeGen
|
|||
VirtRegMap.cpp
|
||||
VirtRegRewriter.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMCodeGen LLVMCore)
|
||||
|
|
|
@ -30,3 +30,5 @@ add_llvm_library(LLVMSupport
|
|||
Triple.cpp
|
||||
raw_ostream.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMSupport LLVMSystem)
|
||||
|
|
|
@ -31,3 +31,5 @@ add_llvm_library(LLVMScalarOpts
|
|||
TailDuplication.cpp
|
||||
TailRecursionElimination.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
|
||||
|
|
|
@ -25,3 +25,5 @@ add_llvm_library(LLVMTransformUtils
|
|||
ValueMapper.cpp
|
||||
InstructionNamer.cpp
|
||||
)
|
||||
|
||||
target_link_libraries (LLVMTransformUtils LLVMSupport)
|
||||
|
|
Loading…
Reference in New Issue