diff --git a/CMakeLists.txt b/CMakeLists.txt index 4504cd497e330b869502f18a89f4a691a7e066ac..90ab2449fd2d61440a0b73ac9d1a9b0e6cdcfe86 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,7 @@ if(${MGE_ARCH} STREQUAL "AUTO") elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i386" OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "i686") set(MGE_ARCH "i386") else() - message(FATAL "Unknown machine architecture for MegEngine.") + message(FATAL_ERROR "Unknown machine architecture for MegEngine.") endif() endif()