summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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