2015-12-29 21:07:30 +00:00
|
|
|
IF(WITH_UNIX_STRUCTURE)
|
2016-02-01 15:04:21 +00:00
|
|
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/khanat_client.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/khanat_client.desktop")
|
2010-07-17 15:54:43 +00:00
|
|
|
|
2016-02-01 15:04:21 +00:00
|
|
|
INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/khanat_client.desktop" DESTINATION share/applications)
|
2016-01-20 07:01:51 +00:00
|
|
|
INSTALL(FILES khanat_client.png DESTINATION share/pixmaps)
|
2016-02-01 15:04:21 +00:00
|
|
|
INSTALL(FILES khanat_client.xpm DESTINATION share/pixmaps)
|
2016-01-20 07:01:51 +00:00
|
|
|
INSTALL(FILES khanat_16x16.png DESTINATION share/icons/hicolor/16x16/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
|
|
|
INSTALL(FILES khanat_22x22.png DESTINATION share/icons/hicolor/22x22/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
|
|
|
INSTALL(FILES khanat_24x24.png DESTINATION share/icons/hicolor/24x24/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
|
|
|
INSTALL(FILES khanat_32x32.png DESTINATION share/icons/hicolor/32x32/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
|
|
|
INSTALL(FILES khanat_48x48.png DESTINATION share/icons/hicolor/48x48/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
|
|
|
INSTALL(FILES khanat_128x128.png DESTINATION share/icons/hicolor/128x128/apps RENAME ${RYZOM_CLIENT_ICON}.png)
|
2015-12-29 21:07:30 +00:00
|
|
|
ELSE()
|
|
|
|
# in case of local client, only copy 48x48 icon
|
2016-01-20 07:01:51 +00:00
|
|
|
INSTALL(FILES khanat_48x48.png DESTINATION ${RYZOM_ETC_PREFIX} RENAME ${RYZOM_CLIENT_ICON}.png)
|
2015-12-07 18:11:51 +00:00
|
|
|
ENDIF()
|