Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake now uses C++17 if supported by the compiler
We only set this when C++ version or requirement flag is not overridden externally to be able to rely on CMake automatically downgrading the standard version when the compiler doesn't support it. CXX_STANDARD 17 also requires CMake 3.8 or later; on earlier versions we use the old behavior and set C++11.
- Loading branch information