From c551e1f75c6ae0bac9581b6e684a3b2d719b04c4 Mon Sep 17 00:00:00 2001
From: Lukas Werner <lks.werner@fau.de>
Date: Tue, 12 May 2020 09:27:58 +0200
Subject: [PATCH] Fixed mesh module dependencies

---
 src/mesh/CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mesh/CMakeLists.txt b/src/mesh/CMakeLists.txt
index 87241c4af..988353262 100644
--- a/src/mesh/CMakeLists.txt
+++ b/src/mesh/CMakeLists.txt
@@ -5,6 +5,7 @@
 ###################################################################################################
 
 waLBerla_add_module( DEPENDS blockforest boundary core domain_decomposition
-                             python_coupling field geometry pe stencil ../mesh_common/vtk mesa_pd mesh_common )
+                             python_coupling field geometry pe stencil mesa_pd mesh_common
+                     BUILD_ONLY_IF_FOUND OpenMesh)
 
 ###################################################################################################
-- 
GitLab