Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS
authorMehdi Amini <joker.eph@gmail.com>
Wed, 2 Jun 2021 17:13:51 +0000 (17:13 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 2 Jun 2021 17:13:51 +0000 (17:13 +0000)
mlir/lib/Reducer/CMakeLists.txt

index cd92802..bcc4062 100644 (file)
@@ -8,6 +8,7 @@ add_mlir_library(MLIRReduce
    MLIRPass
    MLIRRewrite
    MLIRTransformUtils
+   DEPENDS
    MLIRReducerIncGen
 )