diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-11-13 15:36:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-11-13 16:26:21 +0300 |
commit | f82f1513e06c7680d358c0ecd94ad36187225273 (patch) | |
tree | a416680366c2a5c6c065c54acce874c4e400998e /extern/carve/lib | |
parent | 4d35ecc3bb48efe64713d8a1750c76f5f9f4f727 (diff) |
Booleans: Boost is no longer a dependency for Carve
SCons is currently broken on my laptop, so can't test if it works for sure,
so please do tests of that.
Diffstat (limited to 'extern/carve/lib')
-rw-r--r-- | extern/carve/lib/polyhedron.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/extern/carve/lib/polyhedron.cpp b/extern/carve/lib/polyhedron.cpp index 7f65da8c125..d402fce36df 100644 --- a/extern/carve/lib/polyhedron.cpp +++ b/extern/carve/lib/polyhedron.cpp @@ -36,7 +36,11 @@ #include <carve/mesh.hpp> -#include BOOST_INCLUDE(random.hpp) +#ifdef HAVE_BOOST_LIBRARY +# include BOOST_INCLUDE(random.hpp) +#else +# include <carve/random/random.h> +#endif namespace { bool emb_test(carve::poly::Polyhedron *poly, |