Skip to content

Commit

Permalink
[mlir] Link MLIRMlirOptMain against test_libs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nikic committed Dec 12, 2024
1 parent 46ec271 commit e582865
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mlir/tools/mlir-opt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ add_mlir_library(MLIRMlirOptMain

LINK_LIBS PUBLIC
${LIBS}
${test_libs}
)

add_mlir_tool(mlir-opt
Expand Down

0 comments on commit e582865

Please sign in to comment.