[Mlir-commits] [mlir] 5db5002 - [mlir] Remove unnecessary DEPENDS for MLIRMlirOptMain

Lei Zhang llvmlistbot at llvm.org
Thu May 7 10:59:17 PDT 2020


Author: Lei Zhang
Date: 2020-05-07T13:59:05-04:00
New Revision: 5db5002e652aa09016889759506f4806f5a29973

URL: https://github.com/llvm/llvm-project/commit/5db5002e652aa09016889759506f4806f5a29973
DIFF: https://github.com/llvm/llvm-project/commit/5db5002e652aa09016889759506f4806f5a29973.diff

LOG: [mlir] Remove unnecessary DEPENDS for MLIRMlirOptMain

https://github.com/llvm/llvm-project/commit/c296d2dc53d5c11c
fixes the dependency issue by turning LINK_LIBS to PUBLIC.
These explicit DEPENDS are not needed anymore.

Differential Revision: https://reviews.llvm.org/D79574

Added: 
    

Modified: 
    mlir/tools/mlir-opt/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/tools/mlir-opt/CMakeLists.txt b/mlir/tools/mlir-opt/CMakeLists.txt
index 2cf9023745ae..46e7ea69285d 100644
--- a/mlir/tools/mlir-opt/CMakeLists.txt
+++ b/mlir/tools/mlir-opt/CMakeLists.txt
@@ -41,10 +41,6 @@ add_mlir_library(MLIRMlirOptMain
 
   LINK_LIBS PUBLIC
   ${LIBS}
-
-  DEPENDS
-  intrinsics_gen
-  mlir-headers
   )
 
 add_llvm_tool(mlir-opt


        


More information about the Mlir-commits mailing list