diff options
author | Brad King <brad.king@kitware.com> | 2023-09-26 13:18:02 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-09-26 13:18:10 (GMT) |
commit | 187fb1911f6415362fc036d76fb4756317a52c2a (patch) | |
tree | a8b5add8948f7ae77d1bb09435141f599353d371 /Modules | |
parent | 8a90ae92afd53a89cb223082778adad5c696d80f (diff) | |
parent | 961a0772383104431ff49087e32a41d16393fb9c (diff) | |
download | CMake-187fb1911f6415362fc036d76fb4756317a52c2a.zip CMake-187fb1911f6415362fc036d76fb4756317a52c2a.tar.gz CMake-187fb1911f6415362fc036d76fb4756317a52c2a.tar.bz2 |
Merge topic 'add-c++23'
961a077238 IBMClang: Add provisional flags for C++23
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8837
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/IBMClang-CXX.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/IBMClang-CXX.cmake b/Modules/Compiler/IBMClang-CXX.cmake index 5431b17..be9b525 100644 --- a/Modules/Compiler/IBMClang-CXX.cmake +++ b/Modules/Compiler/IBMClang-CXX.cmake @@ -31,6 +31,8 @@ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 17.1.0) set(CMAKE_CXX17_EXTENSION_COMPILE_OPTION "-std=gnu++17") set(CMAKE_CXX20_STANDARD_COMPILE_OPTION "-std=c++20") set(CMAKE_CXX20_EXTENSION_COMPILE_OPTION "-std=gnu++20") + set(CMAKE_CXX23_STANDARD_COMPILE_OPTION "-std=c++2b") + set(CMAKE_CXX23_EXTENSION_COMPILE_OPTION "-std=gnu++2b") endif() __compiler_check_default_language_standard(CXX 17.1.0 17) |