File tree 5 files changed +24
-9
lines changed
5 files changed +24
-9
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ add_llvm_component_library(LLVMExecutionEngine
22
22
Target
23
23
)
24
24
25
+ if (BUILD_SHARED_LIBS )
26
+ target_link_libraries (LLVMExecutionEngine PUBLIC LLVMRuntimeDyld)
27
+ endif ()
28
+
25
29
add_subdirectory (Interpreter)
26
30
add_subdirectory (JITLink)
27
31
add_subdirectory (MCJIT)
Original file line number Diff line number Diff line change @@ -24,3 +24,10 @@ add_llvm_component_library(LLVMJITLink
24
24
OrcTargetProcess
25
25
Support
26
26
)
27
+
28
+ target_link_libraries (LLVMJITLink
29
+ PRIVATE
30
+ LLVMObject
31
+ LLVMOrcTargetProcess
32
+ LLVMSupport
33
+ )
Original file line number Diff line number Diff line change @@ -32,9 +32,6 @@ add_llvm_component_library(LLVMOrcJIT
32
32
intrinsics_gen
33
33
34
34
LINK_COMPONENTS
35
- Analysis
36
- BitReader
37
- BitWriter
38
35
Core
39
36
ExecutionEngine
40
37
JITLink
@@ -51,3 +48,11 @@ add_llvm_component_library(LLVMOrcJIT
51
48
52
49
add_subdirectory (Shared)
53
50
add_subdirectory (TargetProcess)
51
+
52
+ target_link_libraries (LLVMOrcJIT
53
+ PRIVATE
54
+ LLVMAnalysis
55
+ LLVMBitReader
56
+ LLVMBitWriter
57
+ LLVMPasses
58
+ )
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ add_llvm_component_library(LLVMFileCheck
3
3
4
4
ADDITIONAL_HEADER_DIRS
5
5
"${LLVM_MAIN_INCLUDE_DIR} /llvm/FileCheck"
6
-
7
- LINK_COMPONENTS
8
- Support
9
6
)
7
+
8
+ target_link_libraries (LLVMFileCheck LLVMSupport)
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ add_llvm_component_library(LLVMFrontendOpenACC
12
12
DEPENDS
13
13
acc_gen
14
14
acc_cpp
15
-
16
- LINK_COMPONENTS
17
- Support
18
15
)
16
+
17
+ target_link_libraries (LLVMFrontendOpenACC LLVMSupport)
18
+
You can’t perform that action at this time.
0 commit comments