[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.
This commit is contained in:
Stephen Neuendorffer 2020-05-05 12:26:48 -07:00
parent 9142c0b46b
commit c296d2dc53
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ add_mlir_library(MLIRMlirOptMain
EXCLUDE_FROM_LIBMLIR
LINK_LIBS
LINK_LIBS PUBLIC
${LIBS}
DEPENDS