diff --git a/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake b/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake index 1f442e05ef02528c583dffeeed3882a45e5a7d7a..812dc550128fabaf53de7ba1dfa58b86621e416f 100644 --- a/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake +++ b/ThirdParty/hdf5/vtkhdf5/config/cmake/ConfigureChecks.cmake @@ -183,7 +183,9 @@ if (WINDOWS) endif (NOT UNIX AND NOT CYGWIN AND NOT MINGW) set (H5_HAVE_FUNCTION 1) set (H5_GETTIMEOFDAY_GIVES_TZ 1) - set (H5_HAVE_TIMEZONE 1) + if (NOT MSVC14) + set (H5_HAVE_TIMEZONE 1) + endif () set (H5_HAVE_GETTIMEOFDAY 1) set (H5_LONE_COLON 0) if (MINGW)