Commit 224edb23 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

test mpfa2p: make compile without having ALUGrid installed

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8910 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent d48fa76a
......@@ -22,6 +22,8 @@
#include "config.h"
#if HAVE_ALUGRID
#include "test_mpfa2pproblem.hh"
#include <dumux/common/start.hh>
......@@ -145,3 +147,17 @@ int main(int argc, char** argv)
return startReturn;
}
}
#else
#warning You need to have ALUGrid installed to run this test
#include <iostream>
int main()
{
std::cerr << "You need to have ALUGrid installed to run this test\n";
return 1;
}
#endif
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment