Merge pull request #12007 from AdmiralCurtiss/cmake-scmrev-at-build-time CMake: Generate scmrev.h at build time instead of configure time.