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>2016-02-19 12:18:38 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-02-19 12:18:59 +0300
commit9e812225257b735ee30d93e0bdaeebdc957b7e46 (patch)
treeb5170f36a6ff93221227bf071aacbcf78a1e834b /CMakeLists.txt
parent1e58af0f53318da8787ca8d9590336eb0b8d41cc (diff)
CMake: New dependency graph requires either Boost or C++11
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4e623d587bc..1603f1f98b2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -673,8 +673,11 @@ if(NOT WITH_BOOST)
elseif(WITH_CYCLES OR WITH_OPENIMAGEIO OR WITH_AUDASPACE OR WITH_INTERNATIONAL OR WITH_OPENVDB OR WITH_OPENCOLORIO OR WITH_MOD_BOOLEAN)
# Keep enabled
else()
- # Enabled but we don't need it
- set(WITH_BOOST OFF)
+ # New dependency graph needs either Boost or C++11 for function bindings.
+ if(NOT USE_CPP11)
+ # Enabled but we don't need it
+ set(WITH_BOOST OFF)
+ endif()
endif()
# auto enable openimageio for cycles