Skip to content
Snippets Groups Projects
Commit 61e5150d authored by Robert K's avatar Robert K
Browse files

[bugfix][netcdf] only include header when netcdf is found.

parent 5e825f3b
No related branches found
No related tags found
1 merge request!6Latest improvements in dune-fem-dg
Pipeline #25318 failed
......@@ -3,6 +3,7 @@
#include <dune/fem-dg/misc/simulator.hh>
#if HAVE_NETCDF
#include <netcdf.h>
int main(int argc, char ** argv)
......@@ -37,3 +38,9 @@ int main(int argc, char ** argv)
}
return 0;
}
#else
int main(int argc, char ** argv)
{
return 0;
}
#endif
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