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.
牧
牧羊犬真Q committed
f0850905f0275922340035f62b6d808c2980ceda
Parent: d1ea18b
Committed by Vaxry <vaxry@vaxry.net>
on 2/25/2025, 2:03:09 PM