From a7abd541c79748d6fc6ba596ddb21ccdcb3c1ce1 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Thu, 9 Dec 2021 10:00:44 -0800 Subject: [PATCH] Correct message type (#9973) --- cmake/onnxruntime_common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/onnxruntime_common.cmake b/cmake/onnxruntime_common.cmake index c2a0254940..4065e4e4ee 100644 --- a/cmake/onnxruntime_common.cmake +++ b/cmake/onnxruntime_common.cmake @@ -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")