Commit ec92f311 authored by Burlen Loring's avatar Burlen Loring

fix FindMPI issues with latest cmake

parent 81d063b7
......@@ -2,7 +2,7 @@ find_package(MPI REQUIRED)
add_library(mpi INTERFACE)
target_include_directories(mpi SYSTEM INTERFACE ${MPI_C_INCLUDE_PATH}
target_link_libraries(mpi INTERFACE ${MPI_C_LIBRARIES} ${MPI_CXX_LIBRARIES})
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