rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / editors / space_console / CMakeLists.txt
index b1d9920fed4ebc7937101ae43ce0fdc8ba5f8b2e..dbef838db65a8cf052ebc553536042cb72dbfcf2 100644 (file)
@@ -38,8 +38,8 @@ SET(SRC
        space_console.c
 )
 
-IF(NOT WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
-ENDIF(NOT WITH_PYTHON)
+IF(WITH_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
+ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_editor_space_console "${SRC}" "${INC}")