diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-02 17:10:56 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-08-02 17:10:56 (GMT) |
commit | 088f14eb725650158d256c28e86e44da3989ad9c (patch) | |
tree | 619a7de1fe67db3e6f6fa9bdf645b6fd0ad00f08 /Modules | |
parent | 27a3ca15e5e92abbdf9228a5ac83c190a5caf0a8 (diff) | |
download | CMake-088f14eb725650158d256c28e86e44da3989ad9c.zip CMake-088f14eb725650158d256c28e86e44da3989ad9c.tar.gz CMake-088f14eb725650158d256c28e86e44da3989ad9c.tar.bz2 |
Intel-C: standard flags are also supported in 12.0
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/Intel-C.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Intel-C.cmake b/Modules/Compiler/Intel-C.cmake index 0efcbc2..edca154 100644 --- a/Modules/Compiler/Intel-C.cmake +++ b/Modules/Compiler/Intel-C.cmake @@ -19,7 +19,7 @@ if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 15.0.0) set(CMAKE_C11_EXTENSION_COMPILE_OPTION "${_std}=gnu11") endif() -if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.1) +if (NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 12.0) set(CMAKE_C90_STANDARD_COMPILE_OPTION "${_std}=c89") set(CMAKE_C90_EXTENSION_COMPILE_OPTION "${_std}=gnu89") set(CMAKE_C99_STANDARD_COMPILE_OPTION "${_std}=c99") |