removing python includes for blenkernel since pynodes are commented.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 19 Jun 2011 09:32:37 +0000 (09:32 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 19 Jun 2011 09:32:37 +0000 (09:32 +0000)
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/node.c

index 9c06e325ce2a46c97f9e020901cc725d9b146745..02a890115cf1642b39c6cd3c5efcb9f38e07ba16 100644 (file)
@@ -284,7 +284,7 @@ endif()
 
 if(WITH_PYTHON)
        list(APPEND INC ../python)
-       list(APPEND INC_SYS ${PYTHON_INCLUDE_DIRS})
+       # list(APPEND INC_SYS ${PYTHON_INCLUDE_DIRS})  # for pynodes, commented now
        add_definitions(-DWITH_PYTHON)
 
        if(WITH_PYTHON_SECURITY)
index 3a8a2ae9c09758d0d89c943e35c1e96a338955f3..64e374fe4c00d0b9f9d7c13b71dba6f03aed1181 100644 (file)
  */
 
 
-#ifdef WITH_PYTHON
-#include <Python.h>
+#if 0 /* pynodes commented for now */
+#  ifdef WITH_PYTHON
+#    include <Python.h>
+#  endif
 #endif
 
 #include "MEM_guardedalloc.h"