From 2c11056604c1a8c1c1cfa5912250bc4f9e728bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 8 Dec 2011 16:15:39 +0100 Subject: [PATCH] Don't build 'test_cfs_tpfa' unless UMFPACK is available. --- tests/Makefile.am | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 13b2ec73..d9953b34 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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