I can set c++14 in CMake (3.18.0) for GNU compiler with CMAKE_CXX_FLAGS and also with target_compile_features. I like to use auto in l
CMAKE_CXX_FLAGS
target_compile_features
auto