Skip to content

Commit e582865

Browse files
committed
[mlir] Link MLIRMlirOptMain against test_libs
In 10ef20f I dropped $test_libs from $LIBS to handle them separately for the mlir-opt tool. However, they should still include them in LINK_LIBS for the MLIRMlirOptMain library.
1 parent 46ec271 commit e582865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/tools/mlir-opt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ add_mlir_library(MLIRMlirOptMain
9494

9595
LINK_LIBS PUBLIC
9696
${LIBS}
97+
${test_libs}
9798
)
9899

99100
add_mlir_tool(mlir-opt

0 commit comments

Comments
 (0)