X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=icons%2FCMakeLists.txt;h=89b286c1fdcaa20ed9616b1d9e93e927e220aa41;hp=4ae47d5c984095cbd1a234986aba0b7f03146fff;hb=f0efd6b5fa2839c9290a36c5a0397f439166f532;hpb=d54bc4a8430623197dbf30c41095c9e1bc85bc8c diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index 4ae47d5c..89b286c1 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -54,13 +54,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()