Build IncompTpfa class only if UMFPACK is available.

This is a temporary stop-gap to restore the build on systems for which
the UMFPACK library is not available.  We need a better solution for
the general problem.
This commit is contained in:
Bård Skaflestad
2012-02-21 10:35:56 +01:00
parent 03c995e4c0
commit 0ea6352b46

View File

@@ -74,7 +74,6 @@ opm/core/pressure/msmfem/ifsh_ms.c \
opm/core/pressure/msmfem/dfs.c \
opm/core/pressure/msmfem/coarse_sys.c \
opm/core/pressure/ifsh.c \
opm/core/pressure/IncompTpfa.cpp \
opm/core/pressure/mimetic/mimetic.c \
opm/core/pressure/mimetic/hybsys_global.c \
opm/core/pressure/mimetic/hybsys.c \
@@ -87,7 +86,6 @@ opm/core/transport/reorder/reordersequence.cpp \
opm/core/transport/reorder/nlsolvers.c \
opm/core/transport/reorder/tarjan.c
nobase_include_HEADERS = \
opm/core/eclipse/CornerpointChopper.hpp \
opm/core/eclipse/EclipseGridInspector.hpp \
@@ -199,6 +197,9 @@ opm/core/transport/reorder/tarjan.h
if UMFPACK
libopmcore_la_SOURCES += opm/core/linalg/call_umfpack.c
libopmcore_la_SOURCES += \
opm/core/linalg/call_umfpack.c \
opm/core/pressure/IncompTpfa.cpp
nobase_include_HEADERS += opm/core/linalg/call_umfpack.h
endif