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

Activate MPI only if --enable-parallel is found in th CONFIGURE_FLAGS

[[Imported from SVN: r7449]]
parent be6e433b
No related branches found
No related tags found
No related merge requests found
......@@ -18,4 +18,9 @@ dune_common_options_am2cmake()
{
default_am2cmake_options $CMAKE_PACKAGES
# Check for --enable-parallel and otherwise deactivate MPI
echo $PARAMS | grep \\-\\-enable-parallel
if test "$?" -eq 0 ; then
CMAKE_PARAMS="$CMAKE_PARAMS -DCMAKE_DISABLE_FIND_PACKAGE_MPI=TRUE"
fi
}
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