diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-13 15:37:27 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-13 15:37:27 +0300 |
commit | 72aa0ebe6a21da996bced14e415601c22e7ca774 (patch) | |
tree | 43684f08202b33807ac531591a42fbf545e1ab15 | |
parent | 4b742caddce4eb9bae9afa3305e25f702c6ed840 (diff) |
Fix cmake install of blenderplayer for linux.
-rw-r--r-- | source/blenderplayer/CMakeLists.txt | 7 | ||||
-rw-r--r-- | source/creator/CMakeLists.txt | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/source/blenderplayer/CMakeLists.txt b/source/blenderplayer/CMakeLists.txt index c48578c791b..01d19beb1ee 100644 --- a/source/blenderplayer/CMakeLists.txt +++ b/source/blenderplayer/CMakeLists.txt @@ -69,6 +69,13 @@ elseif(APPLE) else() add_executable(blenderplayer bad_level_call_stubs/stubs.c) + + if(NOT WITH_INSTALL_PORTABLE) + install( + TARGETS blenderplayer + DESTINATION bin + ) + endif() endif() add_dependencies(blenderplayer makesdna) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 40dd954fbe0..7fcba4de188 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -451,14 +451,6 @@ if(UNIX AND NOT APPLE) ) endif() - - if(WITH_GAMEENGINE AND WITH_PLAYER) - install( - TARGETS blenderplayer - DESTINATION bin - ) - endif() - # misc files install( FILES ${CMAKE_SOURCE_DIR}/release/freedesktop/blender.desktop |