File blender-2.58-python_include.patch of Package blender

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig	2015-10-12 00:58:22.000000000 +0200
+++ CMakeLists.txt	2015-10-17 13:29:50.654210215 +0200
@@ -900,6 +900,7 @@ if(UNIX AND NOT APPLE)
 		# XXX Linking errors with debian static python :/
 #		find_package_wrapper(PythonLibsUnix REQUIRED)
 		find_package(PythonLibsUnix REQUIRED)
+		set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIR})
 	endif()
 
 	if(WITH_IMAGE_OPENEXR)
openSUSE Build Service is sponsored by