diff options
author | Raul Tambre <raul@tambre.ee> | 2020-12-04 15:46:07 (GMT) |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2020-12-08 16:43:59 (GMT) |
commit | 9f3c70a333f076aca61affff189232edaba89c38 (patch) | |
tree | 3a484b6802c039c2ec1922f95c5dee50d8fccd65 /Modules/CMakeOBJCXXCompilerId.mm.in | |
parent | af7e1545c8219c6eebaff6272955e8cd99d175a5 (diff) | |
download | CMake-9f3c70a333f076aca61affff189232edaba89c38.zip CMake-9f3c70a333f076aca61affff189232edaba89c38.tar.gz CMake-9f3c70a333f076aca61affff189232edaba89c38.tar.bz2 |
CUDA, CXX, OBJCXX: C++23 support with Clang 12
Clang 12 landed initial support for C++23 language mode flag -std={c|gnu}++2b
in commit 6627a3c2873fdf7ccba1a1573371079be48b36e8.
Diffstat (limited to 'Modules/CMakeOBJCXXCompilerId.mm.in')
-rw-r--r-- | Modules/CMakeOBJCXXCompilerId.mm.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CMakeOBJCXXCompilerId.mm.in b/Modules/CMakeOBJCXXCompilerId.mm.in index fe04de1..e2ac35d 100644 --- a/Modules/CMakeOBJCXXCompilerId.mm.in +++ b/Modules/CMakeOBJCXXCompilerId.mm.in @@ -30,7 +30,9 @@ char const* qnxnto = "INFO" ":" "qnxnto[]"; #endif const char* info_language_dialect_default = "INFO" ":" "dialect_default[" -#if CXX_STD > 201703L +#if CXX_STD > 202002L + "23" +#elfif CXX_STD > 201703L "20" #elif CXX_STD >= 201703L "17" |