Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-06-14 02:50:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-14 02:50:33 +0300
commit52997272aaf809086b5e9931c046913e31fe31b3 (patch)
tree46619cf4267f847d69fc5f12d3e9695331995564 /CMakeLists.txt
parent1e9348efdcc6b7179450dfa681a5300801f1b4d6 (diff)
CMake: disable OSL if cycles is disabled
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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