[CMake] Check CMAKE_CXX_STANDARD and error if it's to old
Also nuke the old value out of the cache if it's there, otherwise it could lead to problems when the project increases the standard and the developer just runs the "make/ninja" program. Reviewed By: royjacobson Differential Revision: https://reviews.llvm.org/D131367
Loading
Please sign in to comment