diff options
author | Brad King <brad.king@kitware.com> | 2018-03-14 18:08:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-14 18:08:23 (GMT) |
commit | 298e1bfe2870d649ed1ec0054137d6417c7d5ef2 (patch) | |
tree | 0e720405ac13a22b0d7a42f1758ccd436a3aed1d /Modules | |
parent | 7bbaead87d8e9096d8ba90e0eb239d9c76840fff (diff) | |
parent | 194b74daec04c46ab1ae3c5b18d51ae805a9dbe0 (diff) | |
download | CMake-298e1bfe2870d649ed1ec0054137d6417c7d5ef2.zip CMake-298e1bfe2870d649ed1ec0054137d6417c7d5ef2.tar.gz CMake-298e1bfe2870d649ed1ec0054137d6417c7d5ef2.tar.bz2 |
Merge branch 'xl-cc-default-std' into release-3.11
Merge-request: !1854
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeCCompilerId.c.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in index 10f7318..2f6bdb4 100644 --- a/Modules/CMakeCCompilerId.c.in +++ b/Modules/CMakeCCompilerId.c.in @@ -34,7 +34,8 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; @CMAKE_C_COMPILER_ID_ERROR_FOR_TEST@ #if !defined(__STDC__) -# if defined(_MSC_VER) && !defined(__clang__) +# if (defined(_MSC_VER) && !defined(__clang__)) \ + || (defined(__ibmxl__) || defined(__IBMC__)) # define C_DIALECT "90" # else # define C_DIALECT |