diff --git a/src/Compiler/CMakeLists.txt b/src/Compiler/CMakeLists.txt index d70d782840a6..5fafbd4c0b95 100644 --- a/src/Compiler/CMakeLists.txt +++ b/src/Compiler/CMakeLists.txt @@ -31,6 +31,7 @@ add_onnx_mlir_library(CompilerUtils DEPENDS ExternalUtil + MLIRIR INCLUDE_DIRS PRIVATE ${FILE_GENERATE_DIR} diff --git a/src/Interface/CMakeLists.txt b/src/Interface/CMakeLists.txt index a8340d269fca..a30373b8561c 100644 --- a/src/Interface/CMakeLists.txt +++ b/src/Interface/CMakeLists.txt @@ -9,6 +9,7 @@ add_onnx_mlir_library(OMShapeInferenceOpInterface ShapeInferenceOpInterface.cpp DEPENDS + MLIRIR OMShapeInferenceOpInterfaceIncGen LINK_LIBS PUBLIC @@ -19,6 +20,7 @@ add_onnx_mlir_library(OMResultTypeInferenceOpInterface ResultTypeInferenceOpInterface.cpp DEPENDS + MLIRIR OMResultTypeInferenceOpInterfaceIncGen LINK_LIBS PUBLIC @@ -29,6 +31,7 @@ add_onnx_mlir_library(OMHasOnnxSubgraphOpInterface HasOnnxSubgraphOpInterface.cpp DEPENDS + MLIRIR OMHasOnnxSubgraphOpInterfaceIncGen LINK_LIBS PUBLIC @@ -39,6 +42,7 @@ add_onnx_mlir_library(OMSpecializedKernelOpInterface SpecializedKernelOpInterface.cpp DEPENDS + MLIRIR OMSpecializedKernelOpInterfaceIncGen LINK_LIBS PUBLIC