diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-07-13 17:19:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 17:19:02 (GMT) |
commit | 26059fc7abd51827d0e7a798fac1cfa7461db7d3 (patch) | |
tree | d429feaa8d22f72f7415330c895d2562f405e46d /config/cmake/ConfigureChecks.cmake | |
parent | b77d5bacea7f004153b2752a9cb17d26ae975cf9 (diff) | |
download | hdf5-26059fc7abd51827d0e7a798fac1cfa7461db7d3.zip hdf5-26059fc7abd51827d0e7a798fac1cfa7461db7d3.tar.gz hdf5-26059fc7abd51827d0e7a798fac1cfa7461db7d3.tar.bz2 |
Subfiling VFD source cleanup (#3241)
* Subfiling VFD source cleanup
Modularize Subfiling CMake code into separate CMakeLists.txt file
Update Mercury util code to latest version and update Copyright
Generate mercury_util_config.h header file instead of using
pre-generated file
Remove unnecessary Mercury functionality
Fix minor warning in Subfiling VFD code
* Remove Mercury headers from Autotools publicly-distributed header list
Diffstat (limited to 'config/cmake/ConfigureChecks.cmake')
-rw-r--r-- | config/cmake/ConfigureChecks.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index 4b68b2e..140c51c 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -665,6 +665,15 @@ if (MINGW OR NOT WINDOWS) list (APPEND LINK_LIBS posix4) endif () endif () + +# Check for clock_gettime() CLOCK_MONOTONIC_COARSE +set (CMAKE_EXTRA_INCLUDE_FILES time.h) +check_type_size(CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_COARSE_SIZE) +if (HAVE_CLOCK_MONOTONIC_COARSE_SIZE) + set (${HDF_PREFIX}_HAVE_CLOCK_MONOTONIC_COARSE 1) +endif () +unset (CMAKE_EXTRA_INCLUDE_FILES) + #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- |