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:17 (GMT) |
commit | 0ee59ceb3f28008f3335166b888da9f3dac03c4b (patch) | |
tree | 4dec1df91c8fd8548ddb724afe14685ba9831533 | |
parent | 9419fea5501978f896cd106b60a14067a5550a60 (diff) | |
parent | ef47e18ad0fab68f67b95c777c1bee96fe7a4785 (diff) | |
download | CMake-0ee59ceb3f28008f3335166b888da9f3dac03c4b.zip CMake-0ee59ceb3f28008f3335166b888da9f3dac03c4b.tar.gz CMake-0ee59ceb3f28008f3335166b888da9f3dac03c4b.tar.bz2 |
Merge topic 'msvc-c++23'
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
-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() |