From 798d367d54a6c6379ad355bd8345fa40e31e7fe9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 6 Sep 2008 18:24:57 -0500 Subject: Second Life viewer sources 1.21.0-RC --- linden/indra/newview/ViewerInstall.cmake | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 linden/indra/newview/ViewerInstall.cmake (limited to 'linden/indra/newview/ViewerInstall.cmake') 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 @@ +install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/secondlife-bin + DESTINATION ${APP_BINARY_DIR} + ) + +install(DIRECTORY skins app_settings linux_tools + DESTINATION ${APP_SHARE_DIR} + PATTERN ".svn" EXCLUDE + ) + +find_file(IS_ARTWORK_PRESENT NAMES avatar_lad.xml + PATHS ${VIEWER_DIR}/newview/character) + +if (IS_ARTWORK_PRESENT) + install(DIRECTORY res res-sdl character + DESTINATION ${APP_SHARE_DIR} + PATTERN ".svn" EXCLUDE + ) +else (IS_ARTWORK_PRESENT) + message(STATUS "WARNING: Artwork is not present, and will not be installed") +endif (IS_ARTWORK_PRESENT) + +install(FILES featuretable_linux.txt featuretable_solaris.txt gpu_table.txt + DESTINATION ${APP_SHARE_DIR} + ) + +install(FILES ${SCRIPTS_DIR}/messages/message_template.msg + DESTINATION ${APP_SHARE_DIR}/app_settings + ) -- cgit v1.1