Fix cmake install of blenderplayer for linux.

This commit is contained in:
Antony Riakiotakis
2014-11-13 13:37:27 +01:00
parent 4b742caddc
commit 72aa0ebe6a
2 changed files with 7 additions and 8 deletions

View File

@@ -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)

View File

@@ -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