diff --git a/CMakeLists.txt b/CMakeLists.txt index aac73da0d3afb7f3137d33457986c131a62c15a6..9ae0418aa6b826abbcea0b38afe9ab930dbc142f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -140,7 +140,7 @@ if(${MGE_ARCH} STREQUAL "AUTO") elseif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm") set(MGE_ARCH "armv7") else() - message(FATAL "Unknown machine architecture for MegEngine.") + message(FATAL_ERROR "Unknown machine architecture for MegEngine.") endif() endif()