Salome HOME
HAVE_NETGEN (#define) to remove an unresolved symbol when building without netgen
authorjrt <jrt>
Thu, 11 Dec 2003 09:49:11 +0000 (09:49 +0000)
committerjrt <jrt>
Thu, 11 Dec 2003 09:49:11 +0000 (09:49 +0000)
src/SMESH/SMESH_HypothesisFactory.cxx

index f33ae80..1373fae 100644 (file)
@@ -46,8 +46,9 @@ using namespace std;
 #include "SMESH_MEFISTO_2D.hxx"
 #include "SMESH_Quadrangle_2D.hxx"
 #include "SMESH_Hexa_3D.hxx"
+#ifdef HAVE_NETGEN
 #include "SMESH_NETGEN_3D.hxx"
-
+#endif
 //---------------------------------------
 
 //=============================================================================
@@ -94,7 +95,9 @@ _creatorMap["Regular_1D"] = new SMESH_HypothesisCreator<SMESH_Regular_1D>;
 _creatorMap["MEFISTO_2D"] = new SMESH_HypothesisCreator<SMESH_MEFISTO_2D>;
 _creatorMap["Quadrangle_2D"] = new SMESH_HypothesisCreator<SMESH_Quadrangle_2D>;
 _creatorMap["Hexa_3D"] = new SMESH_HypothesisCreator<SMESH_Hexa_3D>;
+#ifdef HAVE_NETGEN
 _creatorMap["NETGEN_3D"] = new SMESH_HypothesisCreator<SMESH_NETGEN_3D>;
+#endif
 //---------------------------------------
 }