[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43447] trunk/blender/source/creator/ CMakeLists.txt: OSX/cmake: don?\194? \180t build target extractpyzip for MODULE

jens verwiebe info at jensverwiebe.de
Tue Jan 17 14:12:01 CET 2012


Revision: 43447
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43447
Author:   jensverwiebe
Date:     2012-01-17 13:11:53 +0000 (Tue, 17 Jan 2012)
Log Message:
-----------
OSX/cmake: don?\194?\180t build target extractpyzip for MODULE

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

Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt	2012-01-17 10:32:17 UTC (rev 43446)
+++ trunk/blender/source/creator/CMakeLists.txt	2012-01-17 13:11:53 UTC (rev 43447)
@@ -629,10 +629,11 @@
 	)
 
 	# python
-	if(WITH_PYTHON)
+	if(WITH_PYTHON AND NOT WITH_PYTHON_MODULE)
 		# the python zip is first extract as part of the build process,
 		# and then later installed as part of make install. this is much
 		# quicker, and means we can easily exclude files on copy
+		# Not needed for PYTHON_MODULE or WEB_PLUGIN due uses  Pyhon framework
 		add_custom_target(
 			extractpyzip
 			DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/python)




More information about the Bf-blender-cvs mailing list