Disable cycles when WITH_CYCLES=OFF
[blender.git] / source / blender / editors / interface / CMakeLists.txt
index ede28b49dbee2a5e98caea70a287640b960f0cfe..0adc315fd692ce8fac972ac38020646d7beea65e 100644 (file)
@@ -82,6 +82,10 @@ if(WITH_HEADLESS)
        add_definitions(-DWITH_HEADLESS)
 endif()
 
+if(WITH_CYCLES)
+       add_definitions(-DWITH_CYCLES)
+endif()
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()