From e913eee81c3176c9fa29618b38fc9fb723ec1e61 Mon Sep 17 00:00:00 2001 From: Scot Breitenfeld Date: Fri, 15 Mar 2024 12:05:14 -0500 Subject: defined CMAKE_H5_HAVE_DARWIN (#4146) --- fortran/src/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12