diff --git a/CMakeLists.txt b/CMakeLists.txt index dc90f962968..47a53d0edb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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