diff options
author | Brad King <brad.king@kitware.com> | 2021-10-12 13:33:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-10-12 13:34:16 (GMT) |
commit | 323846afc1f9a4e923226dabface8898ede8c111 (patch) | |
tree | 02b5d5349701ebbdb5751f39a1f547aae010a21e /Modules/Compiler | |
parent | 975b93512944e04c3817cbfe91fee1327ddfb834 (diff) | |
parent | ef47e18ad0fab68f67b95c777c1bee96fe7a4785 (diff) | |
download | CMake-323846afc1f9a4e923226dabface8898ede8c111.zip CMake-323846afc1f9a4e923226dabface8898ede8c111.tar.gz CMake-323846afc1f9a4e923226dabface8898ede8c111.tar.bz2 |
Merge topic 'msvc-c++23' into release-3.22
ef47e18ad0 MSVC: Tolerate cxx_std_23 feature on older compiler versions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6614
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/MSVC-CXX.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/MSVC-CXX.cmake b/Modules/Compiler/MSVC-CXX.cmake index 9bb7722..bcaec69 100644 --- a/Modules/Compiler/MSVC-CXX.cmake +++ b/Modules/Compiler/MSVC-CXX.cmake @@ -71,6 +71,7 @@ elseif (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 16.0) cxx_std_14 cxx_std_17 cxx_std_20 + cxx_std_23 ) _record_compiler_features(CXX "" CMAKE_CXX_COMPILE_FEATURES) endmacro() |