summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2017-05-02 14:08:56 (GMT)
committerChuck Atkins <chuck.atkins@kitware.com>2017-05-02 14:08:56 (GMT)
commit0225417f60ebaa9de96dd9a9846c2ef7105a39f1 (patch)
tree4a6a8060667068402ffbecb2900baccf785813ab /Modules/Compiler
parent3960038ea225bf23ad738f988e6ee3ddac71ccab (diff)
downloadCMake-0225417f60ebaa9de96dd9a9846c2ef7105a39f1.zip
CMake-0225417f60ebaa9de96dd9a9846c2ef7105a39f1.tar.gz
CMake-0225417f60ebaa9de96dd9a9846c2ef7105a39f1.tar.bz2
PGI: Fix typo in logic for C standard flags
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/PGI-C.cmake2
1 files changed, 1 insertions, 1 deletions
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 ()