mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Added checks for Windows systems.
This commit is contained in:
parent
40a7398b21
commit
9c2fd8541b
@ -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.
|
||||
##
|
||||
|
Loading…
Reference in New Issue
Block a user