summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2024-03-15 17:05:14 (GMT)
committerGitHub <noreply@github.com>2024-03-15 17:05:14 (GMT)
commite913eee81c3176c9fa29618b38fc9fb723ec1e61 (patch)
treeaaf35f645a33584c32e86c564650612fc46fe0b4
parent40e1c6d078ddd6d4a3e149c242bb3290dd4ee2c1 (diff)
downloadhdf5-e913eee81c3176c9fa29618b38fc9fb723ec1e61.zip
hdf5-e913eee81c3176c9fa29618b38fc9fb723ec1e61.tar.gz
hdf5-e913eee81c3176c9fa29618b38fc9fb723ec1e61.tar.bz2
defined CMAKE_H5_HAVE_DARWIN (#4146)
-rw-r--r--fortran/src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 99644b8..b2ac81e 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -31,6 +31,12 @@ else ()
set (CMAKE_H5_HAVE_MPI_F08 0)
endif ()
+if (H5_HAVE_DARWIN) # Used in testing
+ set (CMAKE_H5_HAVE_DARWIN 1)
+else ()
+ set (CMAKE_H5_HAVE_DARWIN 0)
+endif ()
+
# configure for Fortran preprocessor
# Define Parallel variable for passing to H5config_f.inc.cmake