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
This commit is contained in:
Brad King
2021-10-12 13:33:55 +00:00
committed by Kitware Robot

View File

@@ -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()