--- a/cmake/Modules/GetVersionInfo.cmake
+++ b/cmake/Modules/GetVersionInfo.cmake
@@ -7,34 +7,6 @@
 #  LCB_VERSION_MINOR
 #  LCB_VERSION_PATCH
 
-## Try git first ##
-FIND_PROGRAM(GIT_EXECUTABLE NAMES git git.exe)
-MACRO(RUNGIT outvar)
-    EXECUTE_PROCESS(COMMAND git ${ARGN}
-        OUTPUT_VARIABLE ${outvar}
-        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
-        OUTPUT_STRIP_TRAILING_WHITESPACE)
-ENDMACRO()
-
-if (GIT_EXECUTABLE)
-    RUNGIT(LCB_REVDESCRIBE describe --long)
-    RUNGIT(LCB_VERSION describe)
-    STRING(REPLACE "-" "_" LCB_VERSION "${LCB_VERSION}")
-    MESSAGE(STATUS "Sanitized VERSION=${LCB_VERSION}")
-    RUNGIT(LCB_VERSION_CHANGESET rev-parse HEAD)
-
-    EXECUTE_PROCESS(
-        COMMAND echo ${LCB_VERSION}
-        COMMAND awk -F. "{printf \"0x%0.2d%0.2d%0.2d\", $1, $2, $3}"
-        WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
-        OUTPUT_VARIABLE LCB_VERSION_HEX)
-ENDIF()
-
-IF(LCB_VERSION)
-    # Have the version information
-    CONFIGURE_FILE(${LCB_GENINFODIR}/distinfo.cmake.in ${LCB_GENINFODIR}/distinfo.cmake)
-ENDIF()
-
 # library version
 IF(NOT LCB_VERSION AND EXISTS ${LCB_GENINFODIR}/distinfo.cmake)
     INCLUDE(${LCB_GENINFODIR}/distinfo.cmake)
