Fail build when CMakeLists.txt is updated.
Merge pull request #286 from vandenoever/failWhenWritten

Fail build when CMakeLists.txt is updated.