Fix genrev.cmake
Merge pull request #8 from Lillecarl/master

Fix genrev.cmake