Skip to content

Commit

Permalink
Update ConfigureChecks.cmake
Browse files Browse the repository at this point in the history
Use MSVC_VERSION
  • Loading branch information
derobins authored Mar 9, 2024
1 parent 3930f21 commit 08b8ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cmake/ConfigureChecks.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if (WINDOWS)
if (NOT UNIX AND NOT CYGWIN)
set (${HDF_PREFIX}_HAVE_GETCONSOLESCREENBUFFERINFO 1)
set (${HDF_PREFIX}_GETTIMEOFDAY_GIVES_TZ 1)
if (NOT MSVC14)
if (MSVC_VERSION GREATER_EQUAL 1900)
set (${HDF_PREFIX}_HAVE_TIMEZONE 1)
endif ()
set (${HDF_PREFIX}_HAVE_GETTIMEOFDAY 1)
Expand Down

0 comments on commit 08b8ac0

Please sign in to comment.