SET(DEFAULT_FILE_VERSION "5" CACHE STRING "Default MAT file version (4,5,7.3)")

IF (DEFAULT_FILE_VERSION STREQUAL "4")
    SET(MAT_FT_DEFAULT MAT_FT_MAT4)
ELSEIF (DEFAULT_FILE_VERSION STREQUAL "5")
    SET(MAT_FT_DEFAULT MAT_FT_MAT5)
ELSEIF (DEFAULT_FILE_VERSION STREQUAL "7.3")
    SET(MAT_FT_DEFAULT MAT_FT_MAT73)
ELSE()
    MESSAGE(ERROR "Unrecognized MAT file version")
ENDIF()
