diff options
Diffstat (limited to 'linden/indra/newview/ViewerInstall.cmake')
-rw-r--r-- | linden/indra/newview/ViewerInstall.cmake | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/linden/indra/newview/ViewerInstall.cmake b/linden/indra/newview/ViewerInstall.cmake new file mode 100644 index 0000000..55069ad --- /dev/null +++ b/linden/indra/newview/ViewerInstall.cmake | |||
@@ -0,0 +1,28 @@ | |||
1 | install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/secondlife-bin | ||
2 | DESTINATION ${APP_BINARY_DIR} | ||
3 | ) | ||
4 | |||
5 | install(DIRECTORY skins app_settings linux_tools | ||
6 | DESTINATION ${APP_SHARE_DIR} | ||
7 | PATTERN ".svn" EXCLUDE | ||
8 | ) | ||
9 | |||
10 | find_file(IS_ARTWORK_PRESENT NAMES avatar_lad.xml | ||
11 | PATHS ${VIEWER_DIR}/newview/character) | ||
12 | |||
13 | if (IS_ARTWORK_PRESENT) | ||
14 | install(DIRECTORY res res-sdl character | ||
15 | DESTINATION ${APP_SHARE_DIR} | ||
16 | PATTERN ".svn" EXCLUDE | ||
17 | ) | ||
18 | else (IS_ARTWORK_PRESENT) | ||
19 | message(STATUS "WARNING: Artwork is not present, and will not be installed") | ||
20 | endif (IS_ARTWORK_PRESENT) | ||
21 | |||
22 | install(FILES featuretable_linux.txt featuretable_solaris.txt gpu_table.txt | ||
23 | DESTINATION ${APP_SHARE_DIR} | ||
24 | ) | ||
25 | |||
26 | install(FILES ${SCRIPTS_DIR}/messages/message_template.msg | ||
27 | DESTINATION ${APP_SHARE_DIR}/app_settings | ||
28 | ) | ||