From c296d2dc53d5c11ce0de307ae17fc3404f7de80d Mon Sep 17 00:00:00 2001 From: Stephen Neuendorffer Date: Tue, 5 May 2020 12:26:48 -0700 Subject: [PATCH] [MLIR] mlir-opt needs PUBLIC dependence We see intermittent build errors on the windows buildbot because mlir-opt is including Linalg headers which haven't been built yet. This dependence should be resolved by declaring a PUBLIC dependence on the Linalg library when building MLIROptMain. --- mlir/tools/mlir-opt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt index ca39f37..2cf9023 100644 --- a/mlir/tools/mlir-opt/CMakeLists.txt +++ b/mlir/tools/mlir-opt/CMakeLists.txt @@ -39,7 +39,7 @@ add_mlir_library(MLIRMlirOptMain EXCLUDE_FROM_LIBMLIR - LINK_LIBS + LINK_LIBS PUBLIC ${LIBS} DEPENDS -- 2.7.4