Correct message type (#9973)

This commit is contained in:
Dmitri Smirnov 2021-12-09 10:00:44 -08:00 committed by GitHub
parent 42c176b60c
commit a7abd541c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ endif()
if (onnxruntime_USE_MIMALLOC)
if(NOT WIN32)
message(FATAL "Currently do not support MIMALLOC in GPU builds")
message(FATAL_ERROR "Currently do not support MIMALLOC in GPU builds")
endif()
if(onnxruntime_USE_CUDA OR onnxruntime_USE_OPENVINO)
message(WARNING "Currently do not support MIMALLOC in GPU builds")