diff --git a/cmake/system.cmake b/cmake/system.cmake index 338f00947..2e43885b3 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -338,7 +338,7 @@ if (${TARGET} STREQUAL NEOVERSEV1) endif() endif() endif() - if (${TARGET} STREQUAL NEOVERSEN2) + if (${TARGET} STREQUAL NEOVERSEV2) if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve-intrinsics -march=armv9-a+sve+sve2+bf16 -mtune=neoverse-v2") else () @@ -347,7 +347,7 @@ if (${TARGET} STREQUAL NEOVERSEV1) elseif (CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.4 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.4) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv8.4-a+sve+bf16 -mtune=neoverse-v1") else () - message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse N2.") + message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse V2.") endif() endif() endif()