1
1

Get rid of the week string in the date format, it might contain different/unusual characters based on windows language setting.

This commit was SVN r23551.
Этот коммит содержится в:
Shiqing Fan 2010-08-04 09:13:20 +00:00
родитель 3ef374478f
Коммит 6893021f7c

Просмотреть файл

@ -110,6 +110,7 @@ EXECUTE_PROCESS(COMMAND cmd /C date /t
STRING (REPLACE "\n" "" CURRENT_TIME ${CURRENT_TIME})
STRING (REPLACE "\n" "" CURRENT_DATE ${CURRENT_DATE})
STRING (REGEX MATCH [.-/\0-9]+ CURRENT_DATE ${CURRENT_DATE})
SET (OMPI_CONFIGURE_DATE "${CURRENT_TIME} ${CURRENT_DATE}" CACHE INTERNAL "OMPI_CONFIGURE_DATE")
SET (OMPI_BUILD_DATE "${CURRENT_TIME} ${CURRENT_DATE}" CACHE INTERNAL "OMPI_BUILD_DATE")