Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-03-04 21:12:21 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-03-04 21:13:35 +0400
commit2c4c4a56b84c90baa9bf93468baee6bb34d7a012 (patch)
tree6690c77ccaf9fa186922617993af6aa4f70dfe0c /source/creator
parentf53014d642a7ee6599a41b3e4e80f2fe8167ab18 (diff)
Build system copy release/site-packages for windows
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index d765c33db70..0f8de9f80b5 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -586,6 +586,17 @@ elseif(WIN32)
)
endif()
+ # release/site-packages
+ install(
+ CODE
+ "
+ execute_process(COMMAND \"${CMAKE_COMMAND}\" -E copy_directory
+ ${LIBDIR}/release/site-packages
+ \"${TARGETDIR_VER}/python/lib/site-packages\")
+ "
+ )
+
+
# doesnt work, todo
# install(CODE "execute_process(COMMAND find ${TARGETDIR}/${BLENDER_VERSION}/python/lib/ -name '*.so' -exec strip -s {} '\;')")
endif()