rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / editors / space_text / CMakeLists.txt
index b53a86fbe39b9aa52d64e6292e4639a48789ae68..708fc161655369b90c1d2a9b9e86fc7fcc515fb0 100644 (file)
@@ -40,8 +40,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_text "${SRC}" "${INC}")