Commit dcbc788d authored by Timothy M. Shead's avatar Timothy M. Shead Committed by David Partyka
Browse files

COMP: Fix link errors building libCosmo on OSX with MPI enabled.

parent a58928bd
...@@ -5,7 +5,7 @@ project(Cosmo) ...@@ -5,7 +5,7 @@ project(Cosmo)
#SET(Cosmo_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS}) #SET(Cosmo_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
SET(Cosmo_LIBS) SET(Cosmo_LIBS)
IF(VTK_USE_MPI) IF(VTK_USE_MPI)
SET(Cosmo_LIBS "${MPI_LIBRARY}") SET(Cosmo_LIBS ${MPI_LIBRARY} ${MPI_EXTRA_LIBRARY})
ELSE(VTK_USE_MPI) ELSE(VTK_USE_MPI)
ADD_DEFINITIONS("-DUSE_SERIAL_COSMO") ADD_DEFINITIONS("-DUSE_SERIAL_COSMO")
ENDIF(VTK_USE_MPI) ENDIF(VTK_USE_MPI)
......
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