Salome HOME
debug for swig V4_1_5_BR1 V4_1_5 V4_1_5rc2 V4_1_5rc3 V5_1_1 V5_1_1rc4 V5_1_1rc5
authorsecher <secher>
Wed, 18 Mar 2009 12:49:00 +0000 (12:49 +0000)
committersecher <secher>
Wed, 18 Mar 2009 12:49:00 +0000 (12:49 +0000)
salome_adm/unix/config_files/check_openmpi.m4

index fe5957a2c93680d64700d454cfefb91d169ca952..691a6b765129d31914b0b8ceffa44f065db2dade 100644 (file)
@@ -33,7 +33,7 @@ if test "$WITHOPENMPI" = yes; then
   OPENMPI_HOME=$withval
 
   if test "$OPENMPI_HOME"; then
-    MPI_INCLUDES=`$OPENMPI_HOME/bin/mpicxx --showme:compile`
+    MPI_INCLUDES="-I${OPENMPI_HOME}/include"
     MPI_LIBS=`$OPENMPI_HOME/bin/mpicxx --showme:link`
   fi