From 0aec6215ad14ec7743951aa68bbbc8f7369b7deb Mon Sep 17 00:00:00 2001 From: jrt Date: Thu, 11 Dec 2003 09:49:11 +0000 Subject: [PATCH] HAVE_NETGEN (#define) to remove an unresolved symbol when building without netgen --- src/SMESH/SMESH_HypothesisFactory.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 //--------------------------------------- } -- 2.39.2