From 52997272aaf809086b5e9931c046913e31fe31b3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Jun 2015 09:50:33 +1000 Subject: CMake: disable OSL if cycles is disabled --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 3144376dd80..1f0be6cd22e 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 -- cgit v1.2.3