Commit 8ad2a0f2 authored by Dave Moxey's avatar Dave Moxey

Trying to fix again

parent c1012e33
......@@ -11,16 +11,17 @@ IF( NEKTAR_USE_MPI )
CHECK_INCLUDE_FILES (mpi.h HAVE_MPI_H)
CHECK_FUNCTION_EXISTS(MPI_Send HAVE_MPI_SEND)
SET(MPI_BUILTIN OFF CACHE INTERNAL
"Determines whether MPI is built in")
IF (NOT "${HAVE_MPI_H}" OR NOT "${HAVE_MPI_SEND}")
INCLUDE (FindMPI)
MARK_AS_ADVANCED(MPI_LIBRARY)
MARK_AS_ADVANCED(MPI_EXTRA_LIBRARY)
MARK_AS_ADVANCED(file_cmd)
INCLUDE_DIRECTORIES( ${MPI_INCLUDE_PATH} )
SET(MPI_BUILTIN OFF BOOL INTERNAL)
MESSAGE(STATUS "Found MPI: ${MPI_LIBRARY}")
ELSE()
SET(MPI_BUILTIN ON BOOL INTERNAL)
SET(MPI_BUILTIN ON)
MESSAGE(STATUS "Found MPI: built in")
ENDIF()
......
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