rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / blenkernel / CMakeLists.txt
index 5252003c5b3ea54da9aabb9ff7dd8568d4205199..eb564720915a97532711c52bbe6d7dbde6859090 100644 (file)
@@ -188,8 +188,7 @@ ENDIF(WITH_LCMS)
 
 IF(WITH_PYTHON)
        LIST(APPEND INC ../python ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 IF(WITH_OPENMP)