rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / BlenderRoutines / CMakeLists.txt
index 7abdeba07400033514ec11a011ecdd6314cbf554..1f895ad0abc5c7dc68054493a84d25bf3d939703 100644 (file)
@@ -51,8 +51,7 @@ ENDIF(WITH_FFMPEG)
 
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_blroutines "${SRC}" "${INC}")