Hide ChatMonitor by default, as it tends to confuse new users a lot
[quassel.git] / icons / CMakeLists.txt
1 # Install icons
2 # We put them in DATA_INSTALL_DIR rather than ICON_INSTALL_DIR, to avoid
3 # polluting the global namespace and to allow overriding
4
5 if(EMBED_DATA)
6   set(CLIENT_RCS ${CLIENT_RCS} ../icons/hicolor.qrc ../icons/oxygen.qrc PARENT_SCOPE)
7 else(EMBED_DATA)
8   install(DIRECTORY hicolor DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
9   install(DIRECTORY oxygen DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
10 endif(EMBED_DATA)
11
12 # Application icon
13 if(NOT APPLE AND NOT WIN32)
14   install(FILES oxygen/48x48/apps/quassel.png DESTINATION ${ICON_INSTALL_DIR}/hicolor/48x48/apps)
15   if(CMAKE_INSTALL_PREFIX STREQUAL "/usr")
16     install(FILES oxygen/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps)
17   endif(CMAKE_INSTALL_PREFIX STREQUAL "/usr")
18 endif(NOT APPLE AND NOT WIN32)