[Bf-blender-cvs] [9e81222] master: CMake: New dependency graph requires either Boost or C++11

Sergey Sharybin noreply at git.blender.org
Fri Feb 19 10:19:24 CET 2016


Commit: 9e812225257b735ee30d93e0bdaeebdc957b7e46
Author: Sergey Sharybin
Date:   Fri Feb 19 10:18:38 2016 +0100
Branches: master
https://developer.blender.org/rB9e812225257b735ee30d93e0bdaeebdc957b7e46

CMake: New dependency graph requires either Boost or C++11

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4e623d5..1603f1f 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




More information about the Bf-blender-cvs mailing list