From 1265eee85c304c2b7d33d5b48d6128de28acb1ca Mon Sep 17 00:00:00 2001 From: psykose Date: Fri, 9 Aug 2024 20:38:05 +0200 Subject: [PATCH] fix cmake typo for power10 cc version check fixes 668f48f4fc80db2d886576f20b7d4ddb6defd4c1 --- cmake/system.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/system.cmake b/cmake/system.cmake index 683c3181d..a0b73ddae 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -263,7 +263,7 @@ if (DEFINED TARGET) endif() if (${TARGET} STREQUAL POWER10) - if (CMAKE_C_COMPILER VERSION VERSION_GREATER 10.2 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.2) + if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.2 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.2) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math") else () message(FATAL_ERROR "Compiler GCC ${CMAKE_C_COMPILER_VERSION} does not support Power10.")