From: Manuel Nickschas Date: Sat, 27 Sep 2008 01:55:29 +0000 (+0200) Subject: Install application icon X-Git-Tag: 0.3.1~240 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=21bf321acac861db6a5b01fd5ede45abc0ba5756 Install application icon --- 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})