Commit 50d41dbb authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

Merge branch 'fix/adapt-to-opm-changes' into 'master'

[opm][cmake] adapt to changes in OPM

Closes #875

See merge request !2061
parents 37d2dea0 98f7f769
......@@ -36,6 +36,7 @@ OPM_FLAGS=""
# to build opm it might be necessary to set manually the following variables (comment the above line)
#OPM_FLAGS="
#-DUSE_MPI=ON
#-DOPM_CLANG_WITH_STDC++FS=ON
#"
# set this to "ON" if you want to be able to have the headercheck target
......
......@@ -14,3 +14,7 @@ find_package(PTScotch)
find_package(PVPython)
find_package(Valgrind)
find_package(Quadmath)
# The following is required for being able to depend on OPM.
# Remove once a better solution has been found at
# https://github.com/OPM/opm-common/issues/1751.
find_package(OpenMP)
......@@ -6,7 +6,6 @@ dumux_add_test(NAME test_2p_cornerpoint
SOURCES main.cc
CMAKE_GUARD HAVE_OPM_GRID
COMPILE_DEFINITIONS HAVE_ECL_INPUT=1
LINK_LIBRARIES -fopenmp
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_2p_cornerpoint-reference.vtu
......
Markdown is supported
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