From 2b5bff6f98d9e93b603ffd107f977a42ab13f741 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?=
 <christoph.grueninger@iws.uni-stuttgart.de>
Date: Fri, 19 Feb 2016 13:25:06 +0100
Subject: [PATCH] Guard lensproblem.hh to avoid error with missing UG

---
 .../2p/implicit/pointsources/test_ccadaptive2ppointsource.cc    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/porousmediumflow/2p/implicit/pointsources/test_ccadaptive2ppointsource.cc b/test/porousmediumflow/2p/implicit/pointsources/test_ccadaptive2ppointsource.cc
index 43fdde93d0..a39ae64aa6 100644
--- a/test/porousmediumflow/2p/implicit/pointsources/test_ccadaptive2ppointsource.cc
+++ b/test/porousmediumflow/2p/implicit/pointsources/test_ccadaptive2ppointsource.cc
@@ -22,7 +22,9 @@
  * \brief Test for the two-phase CC model with point source
  */
 #include <config.h>
+#if HAVE_UG
 #include "lensproblem.hh"
+#endif
 #include <dumux/common/start.hh>
 
 /*!
-- 
GitLab