2 # We put them in DATA_INSTALL_DIR rather than ICON_INSTALL_DIR, to avoid
3 # polluting the global namespace and to allow overriding
6 set(CLIENT_RCS ${CLIENT_RCS} ../icons/hicolor.qrc ../icons/oxygen.qrc PARENT_SCOPE)
8 install(DIRECTORY hicolor DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
9 install(DIRECTORY oxygen DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
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)