message: git might also be missing of course
diff: @@ -149,10 +149,10 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
  set(SUN TRUE)
  endif()
  -if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
  execute_process(
  COMMAND git log -1 --format=%h
  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
  + RESULT_VARIABLE GIT_RESULT
  OUTPUT_VARIABLE GIT_COMMIT_HASH
  OUTPUT_STRIP_TRAILING_WHITESPACE)
  execute_process(
  @@ -166,6 +166,7 @@ if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
  OUTPUT_VARIABLE GIT_ITERATION
  OUTPUT_STRIP_TRAILING_WHITESPACE)
  +if(GIT_RESULT EQUAL "0")
  string(REGEX REPLACE "v([0-9]+).[0-9]+.[0-9]+" "\\1" DUCKDB_MAJOR_VERSION "${GIT_LAST_TAG}")
  string(REGEX REPLACE "v[0-9]+.([0-9]+).[0-9]+" "\\1" DUCKDB_MINOR_VERSION "${GIT_LAST_TAG}")
  string(REGEX REPLACE "v[0-9]+.[0-9]+.([0-9]+)" "\\1" DUCKDB_PATCH_VERSION "${GIT_LAST_TAG}")
  