Skip to content

Commit f2ae6fa

Browse files
committed
Use LLVM_LINK_COMPONENTS instead
1 parent 83115c1 commit f2ae6fa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/lib/CAPI/ExecutionEngine/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
set(LLVM_LINK_COMPONENTS
22
nativecodegen
33
native
4+
orcjit
5+
support
46
)
57

68
# Main API shared library.
79
add_mlir_upstream_c_api_library(MLIRCAPIExecutionEngine
810
ExecutionEngine.cpp
911

10-
LINK_COMPONENTS
11-
OrcJit
12-
Support
13-
1412
LINK_LIBS PUBLIC
1513
MLIRBuiltinToLLVMIRTranslation
1614
MLIRExecutionEngine

0 commit comments

Comments
 (0)