rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / editors / space_script / CMakeLists.txt
index 88c0ea56ab25204d691e6d329ba2c953f1c52910..17fcf2296e930e8fd5c3a9cf51acd1dc32d88a35 100644 (file)
@@ -38,8 +38,7 @@ SET(SRC
 
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC} ../../python)
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_editor_space_script "${SRC}" "${INC}")