Commit d3f8ef87 authored by Martin Schneider's avatar Martin Schneider

[patches] Delete unnecessary patches

parent 2bd37f28
......@@ -4,15 +4,3 @@
dune-istl 2.4.1, e.g.:
patch -p1 <../dumux/patches/istl-2.4.1.patch
- If opm-grid has to be used for, e.g., employing the CpGridCreator,
and Opm is compiled from source, it is necessary to patch opm-common and
opm-grid, namely, to execute in the corresponding folders:
patch -p1 <../dumux/patches/opm-common-2018.04.patch
patch -p1 <../dumux/patches/opm-grid-2018.04.patch
Currently, Dumux is supposed to be compatible with the Opm 2018.04 release.
In addition, it might be necessary to set manually some
CMake variables in the CMAKE_FLAGS section of the .opts-file:
-DOPM_COMMON_ROOT=/path/to/opm-common \
-Decl_DIR=/path/to/libecl/build \
diff --git a/cmake/Modules/OpmProject.cmake b/cmake/Modules/OpmProject.cmake
index 51d572df..68feda08 100644
--- a/cmake/Modules/OpmProject.cmake
+++ b/cmake/Modules/OpmProject.cmake
@@ -76,6 +76,7 @@ function (opm_cmake_config name)
set (template_dir "${OPM_MACROS_ROOT}/cmake/Templates")
# write configuration file to locate library
configure_cmake_file (${name} "config" "")
@@ -123,6 +124,7 @@ function (opm_cmake_config name)
# of the build directory (using the same input template)
set(PREREQ_LOCATION "${CMAKE_INSTALL_PREFIX}/share/opm/cmake/Modules")
configure_cmake_file (${name} "install" "")
configure_vars (
FILE CMAKE "${PROJECT_BINARY_DIR}/${${name}_NAME}-install.cmake"
diff --git a/cmake/Templates/ b/cmake/Templates/
index 421708a8..a783043d 100644
--- a/cmake/Templates/
+++ b/cmake/Templates/
@@ -24,6 +24,7 @@ if(NOT @opm-project_NAME@_FOUND)
# propagate these properties from one build system to the other
+ set (@opm-project_NAME@_PREFIX "@DUNE_PREFIX@")
set (@opm-project_NAME@_VERSION "@opm-project_VERSION@")
set (@opm-project_NAME@_DEFINITIONS "@opm-project_DEFINITIONS@")
set (@opm-project_NAME@_INCLUDE_DIRS "@opm-project_INCLUDE_DIRS@")
diff --git a/opm/grid/common/p2pcommunicator.hh b/opm/grid/common/p2pcommunicator.hh
index 1b4b327..55a2b2f 100644
--- a/opm/grid/common/p2pcommunicator.hh
+++ b/opm/grid/common/p2pcommunicator.hh
@@ -23,6 +23,7 @@
#include <vector>
#include <set>
#include <map>
+#include <cassert>
#include <dune/common/version.hh>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment