diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2010-08-25 22:33:59 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2010-08-25 22:33:59 (GMT) |
commit | 5c549a6345f12a0271b7a44e06169adb20c568c1 (patch) | |
tree | 1fb7a7d0b5eef9ae2c12483104af40dd3c47e2aa /config/cmake | |
parent | 52839cdf69f02c99a4a25f65ec9c21f698ad81a6 (diff) | |
download | hdf5-5c549a6345f12a0271b7a44e06169adb20c568c1.zip hdf5-5c549a6345f12a0271b7a44e06169adb20c568c1.tar.gz hdf5-5c549a6345f12a0271b7a44e06169adb20c568c1.tar.bz2 |
[svn-r19300] BZ 1958: Add h5dump xml tests to CMake support
Tetsed: local linux
Diffstat (limited to 'config/cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 2 | ||||
-rw-r--r-- | config/cmake/HDF5Tests.c | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index c58eb3a..a7da4d3 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -493,6 +493,7 @@ ENDMACRO (HDF5_FUNCTION_TEST) IF (WINDOWS) SET (H5_HAVE_TIMEZONE 1) SET (H5_HAVE_FUNCTION 1) + SET (H5_LONE_COLON 0) ELSE (WINDOWS) FOREACH (test TIME_WITH_SYS_TIME @@ -515,6 +516,7 @@ ELSE (WINDOWS) HAVE_C99_FUNC HAVE_C99_DESIGNATED_INITIALIZER CXX_HAVE_OFFSETOF + LONE_COLON ) HDF5_FUNCTION_TEST (${test}) ENDFOREACH (test) diff --git a/config/cmake/HDF5Tests.c b/config/cmake/HDF5Tests.c index 35e7258..f909ed9 100644 --- a/config/cmake/HDF5Tests.c +++ b/config/cmake/HDF5Tests.c @@ -364,3 +364,11 @@ int main(void) } #endif +#ifdef LONE_COLON +int main(int argc, char * argv) +{ + return 0; +} +#endif + + |