torch-mlir/lib/Dialect/Numpy/IR/CMakeLists.txt

14 lines
271 B
CMake
Raw Normal View History

add_mlir_dialect_library(NPCOMPNumpyDialect
NumpyDialect.cpp
NumpyOps.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/npcomp/Dialect/Numpy
DEPENDS
NPCOMPBasicpyDialect
MLIRNumpyOpsIncGen
)
target_link_libraries(NPCOMPNumpyDialect PUBLIC MLIRIR)