<commit_before>#-----------------------------------------------------------------------------
# Eigen
#-----------------------------------------------------------------------------

# Sanity checks
if(DEFINED Eigen_DIR AND NOT EXISTS ${Eigen_DIR})
  message(FATAL_ERROR "Eigen_DIR variable is defined but corresponds to non-existing directory")
endif()

set(proj Eigen)
set(proj_DEPENDENCIES )
set(Eigen_DEPENDS ${proj})

if(NOT DEFINED Eigen_DIR)

  ExternalProject_Add(${proj}
     SOURCE_DIR ${CMAKE_BINARY_DIR}/${proj}-src
     BINARY_DIR ${proj}-cmake
     URL ${MITK_THIRDPARTY_DOWNLOAD_PREFIX_URL}/Eigen-3.2.2-headers-only.tar.gz
     URL_MD5 d0a7fe82ab7bd39bf577afebe287aa20
     CMAKE_ARGS
       -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/${proj}-install
     INSTALL_DIR ${proj}-install
    )

  set(Eigen_DIR ${CMAKE_CURRENT_BINARY_DIR}/${proj}-install)

else()

  mitkMacroEmptyExternalProject(${proj} "${proj_DEPENDENCIES}")

endif()<commit_msg>COMP Fixed Eigen project creation. Eigen update was not always performed.<commit_after>#-----------------------------------------------------------------------------
# Eigen
#-----------------------------------------------------------------------------

# Sanity checks
if(DEFINED Eigen_DIR AND NOT EXISTS ${Eigen_DIR})
  message(FATAL_ERROR "Eigen_DIR variable is defined but corresponds to non-existing directory")
endif()

set(proj Eigen)
set(proj_DEPENDENCIES )
set(Eigen_DEPENDS ${proj})

if(NOT DEFINED Eigen_DIR)

  ExternalProject_Add(${proj}
     PREFIX ${CMAKE_BINARY_DIR}/${proj}-cmake
     URL ${MITK_THIRDPARTY_DOWNLOAD_PREFIX_URL}/Eigen-3.2.2-headers-only.tar.gz
     URL_MD5 d0a7fe82ab7bd39bf577afebe287aa20
     CMAKE_ARGS
       -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/${proj}-src
)

  set(Eigen_DIR ${CMAKE_CURRENT_BINARY_DIR}/${proj}-src)

else()

  mitkMacroEmptyExternalProject(${proj} "${proj_DEPENDENCIES}")

endif()
{'fraction_non_alphanumeric': 0.25739491437467565, 'fraction_numerical': 0.019719771665801765, 'mean_word_length': 2.473873873873874, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7217210', 'n_tokens_mistral': 679, 'n_tokens_neox': 603, 'n_words': 101}