*** ExternalProject.cmake	Mon Jun 28 10:15:57 2010
--- /scratch/kent/Testing/pandora.psychiatry.uiowa.edu/BRAINS3/SuperBuild/ExternalProject.cmake	Thu Oct 28 13:31:39 2010
***************
*** 821,833 ****
      list(APPEND depends ${stamp_dir}/${name}-svninfo.txt)
    elseif(git_repository)
      find_package(Git)
!     if(NOT GIT_EXECUTABLE)
        message(FATAL_ERROR "error: could not find git for clone of ${name}")
      endif()
  
      # The git submodule update '--recursive' flag requires git >= v1.6.5
      #
!     _ep_get_git_version("${GIT_EXECUTABLE}" git_version)
      if(git_version VERSION_LESS 1.6.5)
        message(FATAL_ERROR "error: git version 1.6.5 or later required for 'git submodule update --recursive': git_version='${git_version}'")
      endif()
--- 821,833 ----
      list(APPEND depends ${stamp_dir}/${name}-svninfo.txt)
    elseif(git_repository)
      find_package(Git)
!     if(NOT Git_EXECUTABLE)
        message(FATAL_ERROR "error: could not find git for clone of ${name}")
      endif()
  
      # The git submodule update '--recursive' flag requires git >= v1.6.5
      #
!     _ep_get_git_version("${Git_EXECUTABLE}" git_version)
      if(git_version VERSION_LESS 1.6.5)
        message(FATAL_ERROR "error: git version 1.6.5 or later required for 'git submodule update --recursive': git_version='${git_version}'")
      endif()
***************
*** 854,860 ****
      # The script will delete the source directory and then call git clone.
      #
      _ep_write_gitclone_script(${tmp_dir}/${name}-gitclone.cmake ${source_dir}
!       ${GIT_EXECUTABLE} ${git_repository} ${git_tag} ${src_name} ${work_dir}
        )
      set(comment "Performing download step (git clone) for '${name}'")
      set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-gitclone.cmake)
--- 854,860 ----
      # The script will delete the source directory and then call git clone.
      #
      _ep_write_gitclone_script(${tmp_dir}/${name}-gitclone.cmake ${source_dir}
!       ${Git_EXECUTABLE} ${git_repository} ${git_tag} ${src_name} ${work_dir}
        )
      set(comment "Performing download step (git clone) for '${name}'")
      set(cmd ${CMAKE_COMMAND} -P ${tmp_dir}/${name}-gitclone.cmake)
