diff options
| author | 牧羊犬真Q <colliemst@gmail.com> | 2025-02-25 21:49:29 +0800 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-02-25 14:03:09 +0000 |
| commit | f0850905f0275922340035f62b6d808c2980ceda (patch) | |
| tree | 376c53c3cda7c893abfd06e8cc73a49f4cb8aff2 /protocols | |
| parent | d1ea18b492deb9acfd1f209a9d000107eea0ac3f (diff) | |
cmake: add CXX_STANDARD_REQUIRED flag to ensure c++ version must be c++26 (#9476)
As the [cmake documentation](https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD_REQUIRED.html) said, when we use the CMAKE_CXX_STANDARD without CXX_STANDARD_REQUIRED, then the standard version we set will be an optional value, and may decay back to older c++ version. So I add this configuration into cmakelist to ensure c++ version is c++26.
Diffstat (limited to 'protocols')
0 files changed, 0 insertions, 0 deletions
