rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / blender / nodes / CMakeLists.txt
index d4383f330c4aa38a40d204ebe76e09a737319279..5a6470d994ebabdce02569d82a6a57ca161d93a2 100644 (file)
@@ -146,8 +146,7 @@ ENDIF(WIN32)
 
 IF(WITH_PYTHON)
        SET(INC ${INC} ../python ${PYTHON_INC})
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 BLENDERLIB(bf_nodes "${SRC}" "${INC}")