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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-05-19 08:56:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-05-19 09:44:19 +0300
commite698299e4f2aade0f526dbeb5ea9f7a3a5117527 (patch)
tree27f1e9154269b6e780928ec85cecf775c7b26cf0 /source
parentd5a85f87b0bab4476dc4e0e945444262fd5d3ff9 (diff)
CMake: install Python executable when its bundled
Diffstat (limited to 'source')
-rw-r--r--source/creator/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index ffaf6f42b18..5e0288ea3d6 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -494,6 +494,12 @@ if(UNIX AND NOT APPLE)
if(WITH_PYTHON)
if(WITH_PYTHON_INSTALL)
+
+ install(
+ FILES ${PYTHON_EXECUTABLE}
+ DESTINATION ${TARGETDIR_VER}/python/bin
+ )
+
# on some platforms (like openSUSE) Python is linked
# to be used from lib64 folder.
# determine this from Python's libraries path