diff --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt index 71ab67d94ef91f..3563d66fa9e798 100644 --- a/mlir/tools/mlir-opt/CMakeLists.txt +++ b/mlir/tools/mlir-opt/CMakeLists.txt @@ -94,6 +94,7 @@ add_mlir_library(MLIRMlirOptMain LINK_LIBS PUBLIC ${LIBS} + ${test_libs} ) add_mlir_tool(mlir-opt