reset define NETGEN_PYTHON to avoid hard dependency to pybind11
This commit is contained in:
@@ -83,6 +83,10 @@ namespace nglib {
|
||||
# pragma clang diagnostic ignored "-Wmacro-redefined"
|
||||
#endif
|
||||
|
||||
#ifdef NETGEN_PYTHON
|
||||
#undef NETGEN_PYTHON
|
||||
#endif
|
||||
|
||||
#include <occgeom.hpp>
|
||||
#include <meshing.hpp>
|
||||
//#include <ngexception.hpp>
|
||||
|
||||
@@ -51,6 +51,10 @@ namespace nglib {
|
||||
# pragma clang diagnostic ignored "-Wmacro-redefined"
|
||||
#endif
|
||||
|
||||
#ifdef NETGEN_PYTHON
|
||||
#undef NETGEN_PYTHON
|
||||
#endif
|
||||
|
||||
#include <meshing.hpp>
|
||||
|
||||
#if defined(__clang__)
|
||||
|
||||
@@ -50,6 +50,10 @@ namespace nglib {
|
||||
# pragma clang diagnostic ignored "-Wmacro-redefined"
|
||||
#endif
|
||||
|
||||
#ifdef NETGEN_PYTHON
|
||||
#undef NETGEN_PYTHON
|
||||
#endif
|
||||
|
||||
#include <meshing.hpp>
|
||||
|
||||
#if defined(__clang__)
|
||||
|
||||
@@ -68,6 +68,10 @@ namespace nglib {
|
||||
# pragma clang diagnostic ignored "-Wmacro-redefined"
|
||||
#endif
|
||||
|
||||
#ifdef NETGEN_PYTHON
|
||||
#undef NETGEN_PYTHON
|
||||
#endif
|
||||
|
||||
#include <occgeom.hpp>
|
||||
#include <meshing.hpp>
|
||||
//#include <meshing/meshtype.hpp>
|
||||
|
||||
@@ -77,6 +77,10 @@
|
||||
# pragma clang diagnostic ignored "-Wmacro-redefined"
|
||||
#endif
|
||||
|
||||
#ifdef NETGEN_PYTHON
|
||||
#undef NETGEN_PYTHON
|
||||
#endif
|
||||
|
||||
#include <occgeom.hpp>
|
||||
|
||||
#if defined(__clang__)
|
||||
|
||||
Reference in New Issue
Block a user