rename and negate DISABLE_PYTHON --> WITH_PYTHON
[blender.git] / source / creator / CMakeLists.txt
index c8885cbba11b2fdc96755eebd6124e5497f5a4bd..c661f6b2812c0c849c1e3f2e3c0f5b582f047559 100644 (file)
@@ -74,8 +74,7 @@ ENDIF(WITH_IMAGE_HDR)
 
 IF(WITH_PYTHON)
        INCLUDE_DIRECTORIES(../blender/python)
-ELSE(WITH_PYTHON)
-       ADD_DEFINITIONS(-DDISABLE_PYTHON)
+       ADD_DEFINITIONS(-DWITH_PYTHON)
 ENDIF(WITH_PYTHON)
 
 IF(WITH_GAMEENGINE)