fixed: applications may need to know we are running with MPI

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1963 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva
2012-10-11 18:45:43 +00:00
committed by Knut Morten Okstad
parent c9e36025f6
commit e1f9d9b53c

View File

@@ -102,6 +102,7 @@ IF(IFEM_USE_PETSC)
FIND_PACKAGE(MPI REQUIRED)
SET(IFEM_DEPINCLUDES ${IFEM_DEPINCLUDES} ${MPI_INCLUDE_PATH})
SET(IFEM_DEPLIBS ${IFEM_DEPLIBS} ${MPI_LIBRARIES})
SET(IFEM_CXX_FLAGS "${IFEM_CXX_FLAGS} -DPARALLEL_PETSC") # Needed due to usage in apps..
SET(IFEM_BUILD_CXX_FLAGS "${IFEM_BUILD_CXX_FLAGS} -DPARALLEL_PETSC")
ENDIF(IFEM_USE_PARALLEL_PETSC)
IF(IFEM_ENABLE_SLEPC)