]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add inclusion guards around instantiation that requires OpenCascade. 6476/head
authorJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 5 May 2018 14:31:29 +0000 (16:31 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sat, 5 May 2018 14:31:29 +0000 (16:31 +0200)
source/gmsh/utilities.cc

index 2f363bdc01ce07f3983f7d5c500daed100c3200e..e65d89c3bacd819e36c199689516dc0c5ff8a2d2 100644 (file)
@@ -119,7 +119,10 @@ namespace Gmsh
   }
 #endif
 
+  // explicit instantiations
+#ifdef DEAL_II_WITH_OPENCASCADE
 #include "utilities.inst"
+#endif
 }
 
 DEAL_II_NAMESPACE_CLOSE

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.