X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=icons%2FCMakeLists.txt;h=c917a0682ddd81c7020380f114fc76173a196870;hp=3a04ba5768f7b1dd1593e9577a27af232b5737f2;hb=d85397ae518ecbfbad66c8c8a74eee92d77656db;hpb=5cfabc7f10123e0e4f03f76ef8ecbdd6c36df511 diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index 3a04ba57..c917a068 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -10,4 +10,12 @@ if(OXYGEN_ICONS MATCHES "Builtin") qt4_add_resources(RC_ICONS oxygen.qrc) endif(OXYGEN_ICONS MATCHES "Builtin") +# Application icon +if(NOT APPLE AND NOT WIN32) + install(FILES hicolor/48x48/apps/quassel.png DESTINATION ${ICON_INSTALL_DIR}/hicolor/48x48/apps) + if(CMAKE_INSTALL_PREFIX STREQUAL "/usr") + install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps) + endif(CMAKE_INSTALL_PREFIX STREQUAL "/usr") +endif(NOT APPLE AND NOT WIN32) + add_custom_target(icons DEPENDS ${RC_ICONS})