X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=icons%2FCMakeLists.txt;h=0cb2fe12d13430a384a9af09300ed97cc1267137;hb=refs%2Ftags%2F0.12.5;hp=1a25353736f8585c3fea984e0a17156713981a33;hpb=d68e9d67200abc51123b357bcdbbc816d4a70791;p=quassel.git diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index 1a253537..0cb2fe12 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -30,13 +30,12 @@ if (WANT_MONO OR WANT_QTCLIENT) endif() set(CLIENT_RCS ${CLIENT_RCS} ${ICON_RCS} PARENT_SCOPE) -endif() - -# Application icon -if (HAVE_KDE OR (UNIX AND NOT APPLE)) - install(FILES hicolor/48x48/apps/quassel.png DESTINATION ${CMAKE_INSTALL_ICONDIR}/hicolor/48x48/apps) - if (CMAKE_INSTALL_PREFIX STREQUAL "/usr") - install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps) + # Application icon + if (HAVE_KDE OR (UNIX AND NOT APPLE)) + install(FILES hicolor/48x48/apps/quassel.png DESTINATION ${CMAKE_INSTALL_ICONDIR}/hicolor/48x48/apps) + if (CMAKE_INSTALL_PREFIX STREQUAL "/usr") + install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps) + endif() endif() endif()