diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d17ec97..0fadb56 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -609,8 +609,10 @@ IF (WIN32 AND NOT CYGWIN) MESSAGE (FATAL " **** Parallel and Threadsafe options are mutually exclusive **** ") ENDIF (HDF5_ENABLE_PARALLEL) SET (H5_HAVE_THREADSAFE 1) - SET (H5_HAVE_WIN_THREADS 1) + IF (H5_HAVE_IOEO) MESSAGE (STATUS " **** Windows Threads only available in WINVER>=0x600 (Vista or Windows 7)**** ") + SET (H5_HAVE_WIN_THREADS 1) + ENDIF (H5_HAVE_IOEO) ENDIF (HDF5_ENABLE_THREADSAFE) ENDIF (WIN32 AND NOT CYGWIN) |