[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [52353] trunk/blender/CMakeLists.txt: OSX/ cmake: py 3.3 migration

jens verwiebe info at jensverwiebe.de
Mon Nov 19 12:45:29 CET 2012


Revision: 52353
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=52353
Author:   jensverwiebe
Date:     2012-11-19 11:45:25 +0000 (Mon, 19 Nov 2012)
Log Message:
-----------
OSX/cmake: py 3.3 migration

Modified Paths:
--------------
    trunk/blender/CMakeLists.txt

Modified: trunk/blender/CMakeLists.txt
===================================================================
--- trunk/blender/CMakeLists.txt	2012-11-19 11:12:30 UTC (rev 52352)
+++ trunk/blender/CMakeLists.txt	2012-11-19 11:45:25 UTC (rev 52353)
@@ -1364,13 +1364,13 @@
 
 	if(WITH_PYTHON)
 		if(NOT WITH_PYTHON_MODULE)
-			# we use precompiled libraries for py 3.2 and up by default
+			# we use precompiled libraries for py 3.3 and up by default
 
 			# normally cached but not since we include them with blender
-			set(PYTHON_VERSION 3.2)
-			set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}")
+			set(PYTHON_VERSION 3.3)
+			set(PYTHON_INCLUDE_DIR "${LIBDIR}/python/include/python${PYTHON_VERSION}m")
 			# set(PYTHON_BINARY "${LIBDIR}/python/bin/python${PYTHON_VERSION}") # not used yet
-			set(PYTHON_LIBRARY python${PYTHON_VERSION})
+			set(PYTHON_LIBRARY python${PYTHON_VERSION}m)
 			set(PYTHON_LIBPATH "${LIBDIR}/python/lib/python${PYTHON_VERSION}")
 			# set(PYTHON_LINKFLAGS "-u _PyMac_Error")  # won't  build with this enabled
 		else()




More information about the Bf-blender-cvs mailing list