Commit 5655c260 authored by Brian Panneton's avatar Brian Panneton

Need to link the directory for MPI

parent 38d4a204
......@@ -38,6 +38,7 @@ if(HDF5_FOUND)
find_package(MPI REQUIRED)
if(MPI_FOUND)
include_directories(${MPI_INCLUDE_PATH})
link_directories(${MPI_INCLUDE_PATH}/../lib)
endif(MPI_FOUND)
endif(HDF5_IS_PARALLEL)
get_filename_component(HDF5_ROOT "${HDF5_INCLUDE_DIR}/../" REALPATH)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment