Now targets are only built with files in the same directory.
Differential Revision: https://reviews.llvm.org/D81328
-add_mlir_dialect_library(MLIRShape
- IR/Shape.cpp
-
- ADDITIONAL_HEADER_DIRS
- ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Shape
-
- DEPENDS
- MLIRShapeOpsIncGen
-
- LINK_LIBS PUBLIC
- MLIRControlFlowInterfaces
- MLIRDialect
- MLIRInferTypeOpInterface
- MLIRIR
- MLIRSideEffectInterfaces
- )
+add_subdirectory(IR)
--- /dev/null
+add_mlir_dialect_library(MLIRShape
+ Shape.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/Shape
+
+ DEPENDS
+ MLIRShapeOpsIncGen
+
+ LINK_LIBS PUBLIC
+ MLIRControlFlowInterfaces
+ MLIRDialect
+ MLIRInferTypeOpInterface
+ MLIRIR
+ MLIRSideEffectInterfaces
+ )