Fix for WITH_LLVM cmake option: When using WITH_CYCLES_OSL this option is forced...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sat, 6 Oct 2012 18:40:05 +0000 (18:40 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sat, 6 Oct 2012 18:40:05 +0000 (18:40 +0000)
CMakeLists.txt

index dc90f96..47a53d0 100644 (file)
@@ -376,7 +376,7 @@ endif()
 
 # auto enable llvm for cycles_osl
 if(WITH_CYCLES_OSL)
-       set(WITH_LLVM ON)
+       set(WITH_LLVM ON CACHE BOOL "ON" FORCE)
 endif()
 
 # don't store paths to libs for portable distribution