Do not error when MPI is missing
This commit is contained in:
committed by
Yorik van Havre
parent
b76519333f
commit
3e017cedaa
@@ -686,7 +686,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
link_libraries(${OPENMPI_LIBRARIES})
|
||||
find_file(MpidotH mpi.h PATHS ${OPENMPI_INCLUDE_DIRS} NO_DEFAULT_PATH)
|
||||
if(NOT MpidotH)
|
||||
message( FATAL_ERROR "mpi.h was not found. Check for error above.")
|
||||
message( WARNING "mpi.h was not found. Check for error above.")
|
||||
endif()
|
||||
endif()
|
||||
find_package(MEDFile REQUIRED)
|
||||
|
||||
Reference in New Issue
Block a user