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
|
Trace.cpp
|
||||||
ValueTracking.cpp
|
ValueTracking.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries (LLVMAnalysis LLVMSupport)
|
||||||
|
|
|
@ -63,3 +63,5 @@ add_llvm_library(LLVMCodeGen
|
||||||
VirtRegMap.cpp
|
VirtRegMap.cpp
|
||||||
VirtRegRewriter.cpp
|
VirtRegRewriter.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries (LLVMCodeGen LLVMCore)
|
||||||
|
|
|
@ -30,3 +30,5 @@ add_llvm_library(LLVMSupport
|
||||||
Triple.cpp
|
Triple.cpp
|
||||||
raw_ostream.cpp
|
raw_ostream.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries (LLVMSupport LLVMSystem)
|
||||||
|
|
|
@ -31,3 +31,5 @@ add_llvm_library(LLVMScalarOpts
|
||||||
TailDuplication.cpp
|
TailDuplication.cpp
|
||||||
TailRecursionElimination.cpp
|
TailRecursionElimination.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries (LLVMScalarOpts LLVMTransformUtils)
|
||||||
|
|
|
@ -25,3 +25,5 @@ add_llvm_library(LLVMTransformUtils
|
||||||
ValueMapper.cpp
|
ValueMapper.cpp
|
||||||
InstructionNamer.cpp
|
InstructionNamer.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_link_libraries (LLVMTransformUtils LLVMSupport)
|
||||||
|
|
Loading…
Reference in New Issue