aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/ViewerInstall.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/ViewerInstall.cmake')
-rw-r--r--linden/indra/newview/ViewerInstall.cmake28
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 @@
1install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/secondlife-bin
2 DESTINATION ${APP_BINARY_DIR}
3 )
4
5install(DIRECTORY skins app_settings linux_tools
6 DESTINATION ${APP_SHARE_DIR}
7 PATTERN ".svn" EXCLUDE
8 )
9
10find_file(IS_ARTWORK_PRESENT NAMES avatar_lad.xml
11 PATHS ${VIEWER_DIR}/newview/character)
12
13if (IS_ARTWORK_PRESENT)
14 install(DIRECTORY res res-sdl character
15 DESTINATION ${APP_SHARE_DIR}
16 PATTERN ".svn" EXCLUDE
17 )
18else (IS_ARTWORK_PRESENT)
19 message(STATUS "WARNING: Artwork is not present, and will not be installed")
20endif (IS_ARTWORK_PRESENT)
21
22install(FILES featuretable_linux.txt featuretable_solaris.txt gpu_table.txt
23 DESTINATION ${APP_SHARE_DIR}
24 )
25
26install(FILES ${SCRIPTS_DIR}/messages/message_template.msg
27 DESTINATION ${APP_SHARE_DIR}/app_settings
28 )