[Bf-blender-cvs] [97a8cd6] master: CMake: Fix use of some option which was never defined

Sergey Sharybin noreply at git.blender.org
Wed Nov 2 10:33:08 CET 2016


Commit: 97a8cd68833f5f580cf1adf91ff561975471bfc5
Author: Sergey Sharybin
Date:   Wed Nov 2 10:32:46 2016 +0100
Branches: master
https://developer.blender.org/rB97a8cd68833f5f580cf1adf91ff561975471bfc5

CMake: Fix use of some option which was never defined

This way it seems more logical to me.

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3c22d9..fe226dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -731,7 +731,7 @@ elseif(WITH_CYCLES OR WITH_OPENIMAGEIO OR WITH_AUDASPACE OR WITH_INTERNATIONAL O
 	# Keep enabled
 else()
 	# New dependency graph needs either Boost or C++11 for function bindings.
-	if(NOT USE_CXX11)
+	if(NOT WITH_CXX11)
 		# Enabled but we don't need it
 		set(WITH_BOOST OFF)
 	endif()




More information about the Bf-blender-cvs mailing list