Don't include python headers in non-python builds

This commit is contained in:
Matthias Hochsteger 2019-10-29 16:11:03 +01:00
parent aa580e4025
commit 69a420aacb

View File

@ -1,7 +1,11 @@
#include <mystdlib.h>
#include <atomic>
#include "meshing.hpp"
#ifdef NG_PYTHON
// must be included to instantiate Archive::Shallow(NetgenGeometry&)
#include <core/python_ngcore.hpp>
#endif
namespace netgen
{