[Mlir-commits] [mlir] 90f207a - Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS

Mehdi Amini llvmlistbot at llvm.org
Wed Jun 2 10:14:25 PDT 2021


Author: Mehdi Amini
Date: 2021-06-02T17:13:51Z
New Revision: 90f207a781518e6210d3c99ab35d7dfc8f84a292

URL: https://github.com/llvm/llvm-project/commit/90f207a781518e6210d3c99ab35d7dfc8f84a292
DIFF: https://github.com/llvm/llvm-project/commit/90f207a781518e6210d3c99ab35d7dfc8f84a292.diff

LOG: Fix CMake error: TableGen targets must be in the DEPENDS list instead of LINK_LIBS

Added: 
    

Modified: 
    mlir/lib/Reducer/CMakeLists.txt

Removed: 
    


################################################################################
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
 )
 


        


More information about the Mlir-commits mailing list