mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 05:19:09 -06:00
Only compile FieldPropsDataHandle if MPI was found
This commit is contained in:
parent
1f00870660
commit
4baa1ba038
@ -26,6 +26,7 @@
|
||||
#ifndef FIELDPROPS_DATAHANDLE_HPP
|
||||
#define FIELDPROPS_DATAHANDLE_HPP
|
||||
|
||||
#if HAVE_MPI
|
||||
#include <opm/simulators/utils/ParallelEclipseState.hpp>
|
||||
#include <opm/simulators/utils/ParallelRestart.hpp>
|
||||
#include <dune/grid/common/datahandleif.hh>
|
||||
@ -198,4 +199,6 @@ private:
|
||||
};
|
||||
|
||||
} // end namespace Opm
|
||||
#endif // HAVE_MPI
|
||||
#endif // FIELDPROPS_DATAHANDLE_HPP
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user