Skip to content

Commit 1265eee

Browse files
committed
fix cmake typo for power10 cc version check
fixes 668f48f
1 parent cd3945b commit 1265eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/system.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ if (DEFINED TARGET)
263263
endif()
264264

265265
if (${TARGET} STREQUAL POWER10)
266-
if (CMAKE_C_COMPILER VERSION VERSION_GREATER 10.2 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.2)
266+
if (CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.2 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.2)
267267
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mcpu=power10 -mtune=power10 -mvsx -fno-fast-math")
268268
else ()
269269
message(FATAL_ERROR "Compiler GCC ${CMAKE_C_COMPILER_VERSION} does not support Power10.")

0 commit comments

Comments
 (0)