diff --git a/CMakeExternals/MITKData.cmake b/CMakeExternals/MITKData.cmake index 659f5c1e14..83b975495d 100644 --- a/CMakeExternals/MITKData.cmake +++ b/CMakeExternals/MITKData.cmake @@ -1,39 +1,39 @@ #----------------------------------------------------------------------------- # MITK Data #----------------------------------------------------------------------------- # Sanity checks IF(DEFINED MITK_DATA_DIR AND NOT EXISTS ${MITK_DATA_DIR}) MESSAGE(FATAL_ERROR "MITK_DATA_DIR variable is defined but corresponds to non-existing directory") ENDIF() SET(proj MITK-Data) SET(proj_DEPENDENCIES) SET(MITK-Data_DEPENDS ${proj}) IF(BUILD_TESTING) - SET(revision_tag 9cb5f967fde0dece1835e51bf173510bea58da18) - IF(${proj}_REVISION_TAG) - SET(revision_tag ${${proj}_REVISION_TAG}) - ENDIF() - + SET(revision_tag 9cb5f967) + #IF(${proj}_REVISION_TAG) + # SET(revision_tag ${${proj}_REVISION_TAG}) + #ENDIF() + ExternalProject_Add(${proj} - GIT_REPOSITORY http://git.mitk.org/MITK-Data.git - GIT_TAG ${revision_tag} + URL ${MITK_THIRDPARTY_DOWNLOAD_PREFIX_URL}/MITK-Data_${revision_tag}.tar.gz + URL_MD5 f0e1128618c59f7f69f9c79c9673b51b UPDATE_COMMAND "" CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND "" DEPENDS ${proj_DEPENDENCIES} ) SET(MITK_DATA_DIR ${ep_source_dir}/${proj}) ELSE() mitkMacroEmptyExternalProject(${proj} "${proj_DEPENDENCIES}") ENDIF(BUILD_TESTING)