From cdac55373a7da23ae6ee63232eb31ce3f42e77cb Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Fri, 7 Feb 2025 20:57:10 -0700 Subject: [PATCH] Prevent doxygen from making a mess. --- source/gmsh/utilities.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/gmsh/utilities.cc b/source/gmsh/utilities.cc index 03b589e79e..c0016071af 100644 --- a/source/gmsh/utilities.cc +++ b/source/gmsh/utilities.cc @@ -142,7 +142,13 @@ namespace Gmsh // explicit instantiations # ifdef DEAL_II_WITH_OPENCASCADE -# include "gmsh/utilities.inst" +// We don't build the utilities.inst file if deal.II isn't configured +// with GMSH, but doxygen doesn't know that and tries to find that +// file anyway for parsing -- which then of course it fails on. So +// exclude the following from doxygen consideration. +# ifndef DOXYGEN +# include "gmsh/utilities.inst" +# endif # endif } // namespace Gmsh -- 2.39.5