From 206525976418823ce8742d7f3204e695763045d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 12 Apr 2012 18:39:51 +0200 Subject: [PATCH] Build the 'tutorial2' programme only if UMFPACK is present. --- tutorials/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tutorials/Makefile.am b/tutorials/Makefile.am index dc012c9c..122e7a88 100644 --- a/tutorials/Makefile.am +++ b/tutorials/Makefile.am @@ -9,5 +9,7 @@ LDADD = $(top_builddir)/libopmcore.la noinst_PROGRAMS = tutorial1 tutorial1_SOURCES = tutorial1.cpp -noinst_PROGRAMS += tutorial2 -tutorial2_SOURCES = tutorial2.cpp +#if UMFPACK +noinst_PROGRAMS += tutorial2 +tutorial2_SOURCES = tutorial2.cpp +#endif