better solution to create/update src/OPALrevision.h
The current solution to create src/OPALrevision.h fails if the OPAL sources are not inside a git repository. In this case the macro GIT_VERSION is defined as empty string. A more reliable solution would be to
- creating
src/OPALrevision.hwithmakeinstead ofcmake - not overwriting
src/OPALrevision.hif the OPAL sources are not in a git repository