summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-10-04 21:41:03 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-10-04 21:41:03 (GMT)
commit694c9065e06b7518999e9839cb38e1215aa7b39a (patch)
tree4a81c0076c699b9d33931f71cd383bbc3a201813 /src/CMakeLists.txt
parent0574011fe87d79953d44d0824b0d0da5386b9060 (diff)
downloadhdf5-694c9065e06b7518999e9839cb38e1215aa7b39a.zip
hdf5-694c9065e06b7518999e9839cb38e1215aa7b39a.tar.gz
hdf5-694c9065e06b7518999e9839cb38e1215aa7b39a.tar.bz2
[svn-r19510] Improve CMake support for CYGWIN.
Correct script comment in testh5diff.sh Bring r19509 back from trunk Tested: Windows Cygwin
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 677362d..d654901 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -508,10 +508,10 @@ SET (H5_PUBLIC_HEADERS
# --------------------------------------------------------------------
# If we are compiling on Windows then add the windows specific files
# --------------------------------------------------------------------
-IF (WIN32)
+IF (WIN32 AND NOT CYGWIN)
SET (common_SRCS ${common_SRCS} ${HDF5_SRC_DIR}/H5FDwindows.c)
SET (H5_PUBLIC_HEADERS ${H5_PUBLIC_HEADERS} ${HDF5_SRC_DIR}/H5FDwindows.h)
-ENDIF (WIN32)
+ENDIF (WIN32 AND NOT CYGWIN)
SET (H5_PRIVATE_HEADERS
${HDF5_SRC_DIR}/H5private.h