From 1e9348efdcc6b7179450dfa681a5300801f1b4d6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Jun 2015 09:34:42 +1000 Subject: CMake: minor edits to lite config --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3