Don't build 'test_cfs_tpfa' unless UMFPACK is available.

This commit is contained in:
Bård Skaflestad 2011-12-08 16:15:39 +01:00
parent 7c00d2e144
commit 2c11056604

View File

@ -1,9 +1,20 @@
AM_CPPFLAGS = \
-I$(top_srcdir)
LDADD = \
$(top_builddir)/libopmcore.la \
$(LAPACK_LIBS) $(BLAS_LIBS) $(LIBS) $(FLIBS)
noinst_PROGRAMS = \
test_cfs_tpfa \
test_jacsys \
test_readvector \
test_sf2p
if UMFPACK
noinst_PROGRAMS += test_cfs_tpfa
endif
test_jacsys_SOURCES = test_jacsys.cpp
test_readvector_SOURCES = test_readvector.cpp
test_sf2p_SOURCES = test_sf2p.cpp