Merge pull request #4835 from ligfx/configurefilescmrev CMake: use configure_file to generate scmrev.h