Skip to content
Snippets Groups Projects
Commit f520f2da authored by Tom Fischer's avatar Tom Fischer
Browse files

Fix ogs linking issue on JUWELS.

parent cabddca5
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ endif()
if(OGS_USE_PETSC)
target_link_libraries(ogs PRIVATE ${PETSC_LIBRARIES})
endif()
if(OGS_USE_MPI)
if(OGS_USE_MPI AND TARGET MPI::MPI_CXX)
target_link_libraries(ogs PRIVATE MPI::MPI_CXX)
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