Skip to content

Commit

Permalink
Fix the FindMPI command so that it includes both the C and CXX (#746)
Browse files Browse the repository at this point in the history
compiler and linker components.
  • Loading branch information
bvanessen committed Apr 19, 2021
1 parent 1b012af commit a36239e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/conduit_setup_deps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ if(CONDUIT_HDF5_DIR)
# to make sure the targets propgate correctly.
# in other cases, folks will
if(HDF5_IS_PARALLEL AND NOT MPI_FOUND)
find_package(MPI)
find_package(MPI COMPONENTS CXX)
endif()

if(HDF5_IS_PARALLEL)
Expand Down

0 comments on commit a36239e

Please sign in to comment.