Switch to C++20 standard for all CMake targets. (#2536)

All our platforms support C++20 now, so update to C++20 standard
for language features such as concepts, designated initializers,
range-based for initializers, and consteval. This PR only switches
the compiler flags to C++20, no other changes.
This commit is contained in:
John Shumway
2025-07-22 11:52:10 -06:00
committed by GitHub
parent f102eedfb3
commit 67b2821623
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.15)
project(ck_app)
add_compile_options(-std=c++17)
add_compile_options(-std=c++20)
if (DTYPES)
add_definitions(-DDTYPES)