[Bf-blender-cvs] [5299727] master: CMake: disable OSL if cycles is disabled

Campbell Barton noreply at git.blender.org
Sun Jun 14 01:55:02 CEST 2015


Commit: 52997272aaf809086b5e9931c046913e31fe31b3
Author: Campbell Barton
Date:   Sun Jun 14 09:50:33 2015 +1000
Branches: master
https://developer.blender.org/rB52997272aaf809086b5e9931c046913e31fe31b3

CMake: disable OSL if cycles is disabled

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

M	CMakeLists.txt

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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3144376..1f0be6c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -659,6 +659,8 @@ if(WITH_CYCLES)
 	if(WITH_CYCLES_OSL)
 		set(WITH_LLVM ON CACHE BOOL "" FORCE)
 	endif()
+else()
+	set(WITH_CYCLES_OSL OFF)
 endif()
 
 # auto enable openimageio linking dependencies




More information about the Bf-blender-cvs mailing list