Commit 34e7ccc1 authored by Berk Geveci's avatar Berk Geveci
Browse files

COMP: Switched link order of MPI libraries to match that of VTK

parent 3983a372
......@@ -323,7 +323,10 @@ ENDIF(VTK_BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
ADD_LIBRARY(Xdmf ${LIBTYPE} ${XdmfSources})
IF(XDMF_BUILD_MPI)
TARGET_LINK_LIBRARIES(Xdmf ${MPI_LIBRARY} ${MPI_EXTRA_LIBRARY})
IF(MPI_EXTRA_LIBRARY)
TARGET_LINK_LIBRARIES(Xdmf ${MPI_EXTRA_LIBRARY})
ENDIF(MPI_EXTRA_LIBRARY)
TARGET_LINK_LIBRARIES(Xdmf ${MPI_LIBRARY} )
ENDIF(XDMF_BUILD_MPI)
IF(XDMF_HAS_NDGM)
......
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