Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-11-13 15:36:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2014-11-13 16:26:21 +0300
commitf82f1513e06c7680d358c0ecd94ad36187225273 (patch)
treea416680366c2a5c6c065c54acce874c4e400998e /extern/carve/lib/polyhedron.cpp
parent4d35ecc3bb48efe64713d8a1750c76f5f9f4f727 (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/polyhedron.cpp')
-rw-r--r--extern/carve/lib/polyhedron.cpp6
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,