diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e24ce2990f4..8f4981d7e36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,6 +173,9 @@ endif() option(WITH_PYTHON_INSTALL "Copy system python into the blender install folder" ON) option(WITH_API_INSTALL "Copy API header files into the blender install folder" ON) +# Cycles +option(WITH_CYCLES "Enable Cycles Render Engine" ON) + # Debug option(WITH_CXX_GUARDEDALLOC "Enable GuardedAlloc for C++ memory allocation tracking (only enable for development)" OFF) mark_as_advanced(WITH_CXX_GUARDEDALLOC) @@ -1177,7 +1180,6 @@ add_subdirectory(extern) # Blender Application add_subdirectory(source/creator) - #----------------------------------------------------------------------------- # Blender Player if(WITH_PLAYER) @@ -1185,5 +1187,12 @@ if(WITH_PLAYER) endif() #----------------------------------------------------------------------------- +# Cycles + +if(WITH_CYCLES) + add_subdirectory(intern/cycles) +endif() + +#----------------------------------------------------------------------------- # CPack for generating packages include(build_files/cmake/packaging.cmake) |