add_compile_definitions(ONNX_ML=1)
add_compile_definitions(ONNX_NAMESPACE=onnx)
set(protobuf_WITH_ZLIB OFF)
set(onnxruntime_DISABLE_CONTRIB_OPS ON)
set(onnxruntime_DISABLE_ML_OPS ON)
set(onnxruntime_DISABLE_SPARSE_TENSORS ON)
set(onnxruntime_DISABLE_OPTIONAL_TYPE ON)
set(onnxruntime_MINIMAL_BUILD ON)
set(onnxruntime_EXTENDED_MINIMAL_BUILD ON)
set(onnxruntime_DISABLE_EXTERNAL_INITIALIZERS ON)
set(onnxruntime_MINIMAL_BUILD_CUSTOM_OPS ON)
set(onnxruntime_BUILD_OPSCHEMA_LIB OFF)