Verified Commit 2d6bfd7a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: add WITH_OPENMP

parent ed2b90fd
//
// Copyright (c) 2020 INRIA
// Copyright (c) 2020-2021 INRIA
//
#include <boost/python.hpp>
......@@ -33,6 +33,13 @@ namespace pinocchio
#else
false;
#endif
bp::scope().attr("WITH_OPENMP") =
#ifdef PINOCCHIO_PYTHON_INTERFACE_WITH_OPENMP
true;
#else
false;
#endif
}
} // namespace python
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment