Makefile generation fails if the working directory isn't a git directory. CMakeLists.txt line 19 fails because line 18 doesn't set GIT_REPO_VERSION. Workaround: Use git clone instead of downloading zip file.