Determining the compiler default C++ standard

This is exactly what cmake -DCMAKE_CXX_STANDARD=14 does, but without editing any files (provided there is no set call in file already, which in my case there isn’t)

My bad, I overlooked the second part of Brad King answer…

I’ve just see a detail in Determining the compiler default C++ standard - #12 by brad.king. One version must be done before creation target, the other after. Is it meaningful in your case?

missing “after creating the target” (obviously) for second item