[mlir][CMAKE] Fix build with BUILD_SHARED_LIBS=ON
authorVladislav Vinogradov <vlad.vinogradov@intel.com>
Wed, 10 Mar 2021 13:52:09 +0000 (14:52 +0100)
committerAlex Zinenko <zinenko@google.com>
Wed, 10 Mar 2021 13:52:36 +0000 (14:52 +0100)
commitb599f464d4aab388e95f7a646c2657b40bd8a9f9
tree72c7ee0efd338323c266420c841d59541d871527
parent0da27ba56c9f5e3f534a65401962301189eac342
[mlir][CMAKE] Fix build with BUILD_SHARED_LIBS=ON

Link `MLIRStandardToLLVM` to `MLIRAVX512Transforms`, since
the latter uses `LLVMTypeConverter` defined in the first one.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D98336
mlir/lib/Dialect/AVX512/Transforms/CMakeLists.txt