[svn-r28112] CMake check for gettimeofday if not on windows

This commit is contained in:
Jerome Soumagne 2015-10-16 17:01:24 -05:00
parent 86f450c240
commit 60cdc22cd3

View File

@ -437,6 +437,7 @@ if (NOT WINDOWS)
#-----------------------------------------------------------------------------
# Check a bunch of time functions
#-----------------------------------------------------------------------------
CHECK_FUNCTION_EXISTS (gettimeofday ${HDF_PREFIX}_HAVE_GETTIMEOFDAY)
foreach (test
HAVE_TM_GMTOFF
HAVE___TM_GMTOFF