From 3e017cedaa6de3b79a40cf165fa03d4d9172fd16 Mon Sep 17 00:00:00 2001 From: Janus Troelsen Date: Mon, 17 Jul 2017 11:39:20 +0200 Subject: [PATCH] Do not error when MPI is missing --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96d2ebeb00..e29c9dfd9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)