rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / gameengine / GameLogic / CMakeLists.txt
index 57150a90e99d4dd32a61f4d56d0f82f659848ed5..b346df2b340cca0162182b2dfd2a59037f3658b1 100644 (file)
@@ -87,8 +87,7 @@ ENDIF(WITH_SDL)
 
 IF(WITH_PYTHON)
        LIST(APPEND INC ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_logic "${SRC}" "${INC}")