do not define occparameters if not compiled with occ

This commit is contained in:
Christopher Lackner 2019-08-27 10:59:47 +02:00
parent 408f1d76b1
commit a233a9307e

View File

@ -15,14 +15,17 @@
#include <linalg.hpp> #include <linalg.hpp>
#include <csg.hpp> #include <csg.hpp>
#include <stlgeom.hpp> #include <stlgeom.hpp>
#include <occgeom.hpp>
#include <geometry2d.hpp> #include <geometry2d.hpp>
#include <meshing.hpp> #include <meshing.hpp>
#include <../visualization/soldata.hpp> #include <../visualization/soldata.hpp>
#ifdef OCCGEOMETRY #ifdef OCCGEOMETRY
#include <occgeom.hpp> #include <occgeom.hpp>
#endif namespace netgen
{
DLL_HEADER extern OCCParameters occparam;
} // namespace netgen
#endif // OCCGEOMETRY
#include <nginterface.h> #include <nginterface.h>
@ -33,7 +36,6 @@ namespace netgen {
MeshingParameters & mp); MeshingParameters & mp);
extern MeshingParameters mparam; extern MeshingParameters mparam;
DLL_HEADER extern STLParameters stlparam; DLL_HEADER extern STLParameters stlparam;
DLL_HEADER extern OCCParameters occparam;
} }