summaryrefslogtreecommitdiffstats
path: root/config/cmake/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r--config/cmake/ConfigureChecks.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index cce71c7..d4b23eb 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -172,7 +172,9 @@ IF (WINDOWS)
IF (NOT MINGW)
SET (H5_HAVE_GETHOSTNAME 1)
ENDIF (NOT MINGW)
- SET (H5_HAVE_GETCONSOLESCREENBUFFERINFO 1)
+ IF (NOT UNIX AND NOT CYGWIN AND NOT MINGW)
+ SET (H5_HAVE_GETCONSOLESCREENBUFFERINFO 1)
+ 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)