Skip to content

Commit

Permalink
make use of external project hdf5 optional
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaiton committed Jul 10, 2024
1 parent 211b8b4 commit 538449e
Show file tree
Hide file tree
Showing 2 changed files with 921 additions and 1 deletion.
10 changes: 9 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,15 @@ endif()
# --- configure

if(FCLAW_ENABLE_HDF5 AND NOT TARGET HDF5::HDF5)
include(cmake/hdf5.cmake)
if(FCLAW_ENABLE_SUBMODULES)

include(cmake/hdf5.cmake)

else()

find_package(HDF5 REQUIRED)

endif()
endif()

include(cmake/config.cmake)
Expand Down
Loading

0 comments on commit 538449e

Please sign in to comment.