From 0225417f60ebaa9de96dd9a9846c2ef7105a39f1 Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Tue, 2 May 2017 10:08:56 -0400 Subject: PGI: Fix typo in logic for C standard flags --- Modules/Compiler/PGI-C.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Compiler/PGI-C.cmake b/Modules/Compiler/PGI-C.cmake index a24e554..3b3848a 100644 --- a/Modules/Compiler/PGI-C.cmake +++ b/Modules/Compiler/PGI-C.cmake @@ -8,7 +8,7 @@ if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 12.10) set(CMAKE_C90_EXTENSION_COMPILE_OPTION -c89) set(CMAKE_C99_STANDARD_COMPILE_OPTION -c99) set(CMAKE_C99_EXTENSION_COMPILE_OPTION -c99) - if (CMAKE_C_COMPILER_VERSION VERSION_CREATER_EQUAL 15.3) + if (CMAKE_C_COMPILER_VERSION VERSION_GREATER_EQUAL 15.3) set(CMAKE_C11_STANDARD_COMPILE_OPTION -c11) set(CMAKE_C11_EXTENSION_COMPILE_OPTION -c11) endif () -- cgit v0.12