diff --git a/native/mlir-c/CMakeLists.txt b/native/mlir-c/CMakeLists.txt index d6a2a6d19..12a55d88f 100644 --- a/native/mlir-c/CMakeLists.txt +++ b/native/mlir-c/CMakeLists.txt @@ -20,6 +20,8 @@ message(STATUS "MLIR_INCLUDE_DIRS: ${MLIR_INCLUDE_DIRS}") include_directories(${PROJECT_SOURCE_DIR}/include) include_directories(${PROJECT_BINARY_DIR}/include) +add_definitions(-U_GLIBCXX_ASSERTIONS) + add_subdirectory(include) add_subdirectory(lib) add_subdirectory(aggregate)