From 90f207a781518e6210d3c99ab35d7dfc8f84a292 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Wed, 2 Jun 2021 17:13:51 +0000 Subject: [PATCH] Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS --- mlir/lib/Reducer/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/lib/Reducer/CMakeLists.txt b/mlir/lib/Reducer/CMakeLists.txt index cd928022becc..bcc4062918db 100644 --- a/mlir/lib/Reducer/CMakeLists.txt +++ b/mlir/lib/Reducer/CMakeLists.txt @@ -8,6 +8,7 @@ add_mlir_library(MLIRReduce MLIRPass MLIRRewrite MLIRTransformUtils + DEPENDS MLIRReducerIncGen )