--- a/cmake/update-version-info.sh 2015-12-20 08:38:33.000000000 -0500 +++ b/cmake/update-version-info.sh 2015-12-26 20:14:00.000000000 -0500 @@ -18,7 +18,7 @@ GIT_COMMAND_EXISTS=1 command -v git >/dev/null 2>&1 || GIT_COMMAND_EXISTS=0 -if [ $GIT_COMMAND_EXISTS -eq 0 ]; then +if [ $GIT_COMMAND_EXISTS -eq 0 -o ! -d "${CMAKE_SOURCE_DIR}/.git" ]; then update_header "no vcs hash" exit 0 fi