Use CMAKE_CXX_STANDARD for setting the required C++ version
Use the CMAKE_CXX_STANDARD variable for setting the required C++ version as this is the official way of controlling this and it propagates correctly to the autotests projects as well.
Use the CMAKE_CXX_STANDARD variable for setting the required C++ version as this is the official way of controlling this and it propagates correctly to the autotests projects as well.