Skip to content
Snippets Groups Projects
Commit ff43b1ab authored by Markus Blatt's avatar Markus Blatt
Browse files

[release,cmake] Set USE_MPI if we compile with MPI.

parent d561f032
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,8 @@ dune_common_options_am2cmake()
echo $PARAMS | grep \\-\\-enable-parallel > /dev/null
if test "$?" -ne 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE"
else
CMAKE_PARAMS="$CMAKE_PARAMS -DUSE_MPI=ON"
fi
# Check for --disable-gxx0xcheck
echo $PARAMS | grep \\-\\-disable-gxx0xcheck > /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment