From: Maintenance team (INV) Date: Wed, 13 Jan 2016 18:08:38 +0000 (+0300) Subject: Synchronize adm files X-Git-Tag: V7_8_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4833890a9dc627e62ed36ea70e59fa433b20fc12;p=tools%2Fmedcoupling.git Synchronize adm files --- diff --git a/cmake_files/FindSalomeMPI.cmake b/cmake_files/FindSalomeMPI.cmake index 9eee1cf0b..d9e6ec1c5 100644 --- a/cmake_files/FindSalomeMPI.cmake +++ b/cmake_files/FindSalomeMPI.cmake @@ -35,7 +35,8 @@ IF(MPI_FOUND) # otherwise take ours. include(CheckSymbolExists) SET(CMAKE_REQUIRED_LIBRARIES ${MPI_LIBRARIES}) - CHECK_SYMBOL_EXISTS(MPI_Publish_name ${MPI_C_INCLUDE_PATH}/mpi.h MPI2_IS_OK) + SET(CMAKE_REQUIRED_INCLUDES ${MPI_C_INCLUDE_PATH}) + CHECK_SYMBOL_EXISTS(MPI_Publish_name mpi.h MPI2_IS_OK) SET(MPI_DEFINITIONS "${MPI_CXX_COMPILE_FLAGS}") IF(MPI2_IS_OK) MESSAGE(STATUS "Your mpi implementation is compatible with mpi2 ... adding -DHAVE_MPI2")