message: fallback for building from tarball
diff: @@ -149,6 +149,7 @@ 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}
  @@ -176,9 +177,15 @@ if(${DUCKDB_DEV_ITERATION} EQUAL 0)
  else()
  # not on a tag, increment the patch version by one and add a -devX suffix
  math(EXPR DUCKDB_PATCH_VERSION "${DUCKDB_PATCH_VERSION}+1")
  -
  - set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}")
  endif()
  +else()
  + # fallback for when building from tarball
  + set(DUCKDB_MAJOR_VERSION 0)
  + set(DUCKDB_MINOR_VERSION 0)
  + set(DUCKDB_PATCH_VERSION 1)
  + set(DUCKDB_DEV_ITERATION 0)
  +endif()
  +set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}")
  option(AMALGAMATION_BUILD
  "Build from the amalgamation files, rather than from the normal sources."
  