Set C++17 for GCC 7 and above, in line with LCG
Hi,
Since a few people now hit the issue that their local GCC8 compilation doesn't work unless they specify CMAKE_CXX_STANDARD=17, I thought it was best to enable this for GCC 7 and above directly.
Once we drop GCC 6.2 we can remove this logic.
Work related to ATLINFR-2384
Cheers,
Stewart