From 0258fcc844eda197024b5d7e3ad3049123c9596c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de>
Date: Fri, 12 Mar 2021 12:45:24 +0100
Subject: [PATCH] [test][gridmanager] add missing cmake guard

---
 test/io/gridmanager/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/io/gridmanager/CMakeLists.txt b/test/io/gridmanager/CMakeLists.txt
index bfbd6fb40e..7162339a6f 100644
--- a/test/io/gridmanager/CMakeLists.txt
+++ b/test/io/gridmanager/CMakeLists.txt
@@ -386,4 +386,4 @@ dumux_add_test(NAME test_pnm_gridmanager_remove_throats_on_boundary_all
 
 dumux_add_test(SOURCES test_pnm_subgriddata.cc
                LABELS unit io porenetwork
-               CMAKE_GUARD dune-foamgrid_FOUND)
+               CMAKE_GUARD "( dune-foamgrid_FOUND AND dune-subgrid_FOUND )")
-- 
GitLab