summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-03 15:00:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-05-03 15:00:51 (GMT)
commitf1e91c694b1581b4ae923b3bd4a243372cb29023 (patch)
treed914e9e68566109bbfddd72b08039f1d4c706f7b /Modules/Compiler
parent96820279541017402c1fe0852444aac68179ddb7 (diff)
parent0225417f60ebaa9de96dd9a9846c2ef7105a39f1 (diff)
downloadCMake-f1e91c694b1581b4ae923b3bd4a243372cb29023.zip
CMake-f1e91c694b1581b4ae923b3bd4a243372cb29023.tar.gz
CMake-f1e91c694b1581b4ae923b3bd4a243372cb29023.tar.bz2
Merge topic 'fix-typo-in-pgi-files'
0225417f PGI: Fix typo in logic for C standard flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !788
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 ()