diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-05-19 08:56:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-05-19 09:44:19 +0300 |
commit | e698299e4f2aade0f526dbeb5ea9f7a3a5117527 (patch) | |
tree | 27f1e9154269b6e780928ec85cecf775c7b26cf0 /source/creator | |
parent | d5a85f87b0bab4476dc4e0e945444262fd5d3ff9 (diff) |
CMake: install Python executable when its bundled
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 6 |
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 |