Added checks for Windows systems.

This commit is contained in:
Ward Fisher 2014-12-15 10:56:14 -07:00
parent 40a7398b21
commit 9c2fd8541b

View File

@ -94,12 +94,14 @@ ENDIF()
STRING(TOUPPER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE)
# Determine the configure date.
EXECUTE_PROCESS(
COMMAND date
OUTPUT_VARIABLE CONFIG_DATE
)
string(STRIP ${CONFIG_DATE} CONFIG_DATE)
IF(CONFIG_DATE)
string(STRIP ${CONFIG_DATE} CONFIG_DATE)
ENDIF()
##
# Allow for extra dependencies.
##