summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompilerId.c.in
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-02-06 16:59:23 (GMT)
committerRaul Tambre <raul@tambre.ee>2021-02-25 16:22:10 (GMT)
commitdcd599757f215fa8eba3b5e40d4b1c52eb5b3919 (patch)
tree0ac036cb48e1916e08ebd5d50a9828732c056da9 /Modules/CMakeCCompilerId.c.in
parent93b7d3d29221f98388c7fa20568cd0b769a26774 (diff)
downloadCMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.zip
CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.gz
CMake-dcd599757f215fa8eba3b5e40d4b1c52eb5b3919.tar.bz2
C23 support
Diffstat (limited to 'Modules/CMakeCCompilerId.c.in')
-rw-r--r--Modules/CMakeCCompilerId.c.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeCCompilerId.c.in b/Modules/CMakeCCompilerId.c.in
index f1175f4..716b975 100644
--- a/Modules/CMakeCCompilerId.c.in
+++ b/Modules/CMakeCCompilerId.c.in
@@ -39,6 +39,8 @@ char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
# else
# define C_DIALECT
# endif
+#elif __STDC_VERSION__ > 201710L
+# define C_DIALECT "23"
#elif __STDC_VERSION__ >= 201710L
# define C_DIALECT "17"
#elif __STDC_VERSION__ >= 201000L