diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 176d13b86af..3144376dd80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -654,6 +654,11 @@ endif() # auto enable openimageio for cycles if(WITH_CYCLES) set(WITH_OPENIMAGEIO ON) + + # auto enable llvm for cycles_osl + if(WITH_CYCLES_OSL) + set(WITH_LLVM ON CACHE BOOL "" FORCE) + endif() endif() # auto enable openimageio linking dependencies @@ -662,11 +667,6 @@ if(WITH_OPENIMAGEIO) set(WITH_IMAGE_TIFF ON) endif() -# auto enable llvm for cycles_osl -if(WITH_CYCLES_OSL) - set(WITH_LLVM ON CACHE BOOL "" FORCE) -endif() - # don't store paths to libs for portable distribution if(WITH_INSTALL_PORTABLE) set(CMAKE_SKIP_BUILD_RPATH TRUE) |