diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-14 02:50:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-18 18:32:25 +0300 |
commit | c691ab1572af9c2ae5c5912191fcc69bcd3803fd (patch) | |
tree | 2de9fd03b2b76fbcd8d6342bb3333d85011a4d2a | |
parent | 30add95104e1cdcaf7faa1f17b59b470a6134983 (diff) |
CMake: disable OSL if cycles is disabled
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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 |