diff options
author | jhendersonHDF <jhenderson@hdfgroup.org> | 2023-07-27 19:11:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 19:11:28 (GMT) |
commit | 17a5a1a37ccc851ca9123b2921fbae15c4814edf (patch) | |
tree | bdc30fe342f691bd8c0d2454a81a195b4d31cef9 /config/cmake/ConfigureChecks.cmake | |
parent | 144bec301c874554cdd8651148dede93fd5279dc (diff) | |
download | hdf5-17a5a1a37ccc851ca9123b2921fbae15c4814edf.zip hdf5-17a5a1a37ccc851ca9123b2921fbae15c4814edf.tar.gz hdf5-17a5a1a37ccc851ca9123b2921fbae15c4814edf.tar.bz2 |
Subfiling VFD source cleanup (#3241) (#3290)
* 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
* Fix CMake builds when Subfiling VFD isn't enabled (#3250)
* Fix CMake builds when Subfiling VFD isn't enabled
* Add Subfiling VFD entry to hdf5-config.cmake.in
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 b768928..01fe139 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -682,6 +682,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) + #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- |