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

[BugFix] Disable MPI if --enable-parallel is not found. Previously,

this was the other way around.

[[Imported from SVN: r7458]]
parent 2c9083c9
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ dune_common_options_am2cmake()
# Check for --enable-parallel and otherwise deactivate MPI
echo $PARAMS | grep \\-\\-enable-parallel
if test "$?" -eq 0 ; then
if test "$?" -ne 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE"
fi
# Check for --disable-gxx0xcheck
......
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