fixed: tutorials should include config.h conditionally

This commit is contained in:
Arne Morten Kvarving 2014-06-23 09:53:07 +02:00
parent eec694729c
commit 96f5509243
4 changed files with 8 additions and 0 deletions

View File

@ -31,7 +31,9 @@
/// \snippet tutorial1.cpp including headers
/// \internal [including headers]
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>

View File

@ -28,7 +28,9 @@
/// We solve the flow equations for a Cartesian grid and we set the source term
/// \f$q\f$ be zero except at the left-lower and right-upper corner, where it is equal
/// with opposite sign (inflow equal to outflow).
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <opm/core/grid.h>
#include <opm/core/grid/GridManager.hpp>

View File

@ -18,7 +18,9 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
/// \endcond
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <iostream>
#include <iomanip>

View File

@ -18,7 +18,9 @@
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
/// \endcond
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <iostream>
#include <iomanip>