[Bf-blender-cvs] [28dbd57] master: Exclude obsolete static pythonlibs from install

Jens Verwiebe noreply at git.blender.org
Sat Jun 25 12:40:26 CEST 2016


Commit: 28dbd572a4675f86e2d8363e88b9556170204a61
Author: Jens Verwiebe
Date:   Sat Jun 25 12:39:47 2016 +0200
Branches: master
https://developer.blender.org/rB28dbd572a4675f86e2d8363e88b9556170204a61

Exclude obsolete static pythonlibs from install

===================================================================

M	source/creator/CMakeLists.txt

===================================================================

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index 122c10e..a4a516e 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -538,6 +538,7 @@ if(UNIX AND NOT APPLE)
 				DIRECTORY ${PYTHON_LIBPATH}/python${PYTHON_VERSION}
 				DESTINATION ${TARGETDIR_VER}/python/${_target_LIB}
 				PATTERN "__pycache__" EXCLUDE               # * any cache *
+				PATTERN "config-${PYTHON_VERSION}m/*.a" EXCLUDE  # static lib
 				PATTERN "lib2to3" EXCLUDE                   # ./lib2to3
 				PATTERN "site-packages/*" EXCLUDE           # ./site-packages/*
 				PATTERN "tkinter" EXCLUDE                   # ./tkinter
@@ -914,6 +915,7 @@ elseif(APPLE)
 			PATTERN "__pycache__" EXCLUDE
 			PATTERN "__MACOSX" EXCLUDE
 			PATTERN ".DS_Store" EXCLUDE
+			PATTERN "config-${PYTHON_VERSION}m/*.a" EXCLUDE  # static lib
 		)
 	endmacro()




More information about the Bf-blender-cvs mailing list