HAVE_NETGEN (#define) to remove an unresolved symbol when building without netgen

This commit is contained in:
jrt 2003-12-11 09:49:11 +00:00
parent bf1947495c
commit 0aec6215ad

View File

@ -46,8 +46,9 @@ using namespace std;
#include "SMESH_MEFISTO_2D.hxx" #include "SMESH_MEFISTO_2D.hxx"
#include "SMESH_Quadrangle_2D.hxx" #include "SMESH_Quadrangle_2D.hxx"
#include "SMESH_Hexa_3D.hxx" #include "SMESH_Hexa_3D.hxx"
#ifdef HAVE_NETGEN
#include "SMESH_NETGEN_3D.hxx" #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["MEFISTO_2D"] = new SMESH_HypothesisCreator<SMESH_MEFISTO_2D>;
_creatorMap["Quadrangle_2D"] = new SMESH_HypothesisCreator<SMESH_Quadrangle_2D>; _creatorMap["Quadrangle_2D"] = new SMESH_HypothesisCreator<SMESH_Quadrangle_2D>;
_creatorMap["Hexa_3D"] = new SMESH_HypothesisCreator<SMESH_Hexa_3D>; _creatorMap["Hexa_3D"] = new SMESH_HypothesisCreator<SMESH_Hexa_3D>;
#ifdef HAVE_NETGEN
_creatorMap["NETGEN_3D"] = new SMESH_HypothesisCreator<SMESH_NETGEN_3D>; _creatorMap["NETGEN_3D"] = new SMESH_HypothesisCreator<SMESH_NETGEN_3D>;
#endif
//--------------------------------------- //---------------------------------------
} }