From: jrt Date: Thu, 11 Dec 2003 09:49:11 +0000 (+0000) Subject: HAVE_NETGEN (#define) to remove an unresolved symbol when building without netgen X-Git-Tag: V1_3_1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0aec6215ad14ec7743951aa68bbbc8f7369b7deb;p=modules%2Fsmesh.git HAVE_NETGEN (#define) to remove an unresolved symbol when building without netgen --- diff --git a/src/SMESH/SMESH_HypothesisFactory.cxx b/src/SMESH/SMESH_HypothesisFactory.cxx index f33ae801d..1373fae69 100644 --- a/src/SMESH/SMESH_HypothesisFactory.cxx +++ b/src/SMESH/SMESH_HypothesisFactory.cxx @@ -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; _creatorMap["MEFISTO_2D"] = new SMESH_HypothesisCreator; _creatorMap["Quadrangle_2D"] = new SMESH_HypothesisCreator; _creatorMap["Hexa_3D"] = new SMESH_HypothesisCreator; +#ifdef HAVE_NETGEN _creatorMap["NETGEN_3D"] = new SMESH_HypothesisCreator; +#endif //--------------------------------------- }