Skip to content
Snippets Groups Projects
Commit 2f870b56 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

CMake: Port libadios2 to use the new FindMPI module

parent e4da6888
No related branches found
No related tags found
1 merge request!267Add upstream FindMPI
......@@ -85,8 +85,7 @@ if(ADIOS2_HAVE_ZFP)
endif()
if(ADIOS2_HAVE_MPI)
target_include_directories(adios2 PUBLIC ${MPI_C_INCLUDE_PATH})
target_link_libraries(adios2 PUBLIC ${MPI_C_LIBRARIES})
target_link_libraries(adios2 PUBLIC MPI::MPI_C)
else()
target_sources(adios2 PRIVATE mpidummy.cpp)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment