diff --git a/src/mesh/CMakeLists.txt b/src/mesh/CMakeLists.txt
index 87241c4af77bca95d4c0d40dc89a2d993a361281..9883532626fc27dc04a61483b919caf2494c8e28 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)
 
 ###################################################################################################