X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=icons%2FCMakeLists.txt;h=35eae344aa3ab50a069ebd804779df265e3da750;hp=4780efc13422f0594d129627c3384ce821b2d4fb;hb=HEAD;hpb=1a45f16a9734820fba42fe1db3f38dd1eee49df6 diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index 4780efc1..e6b70a4c 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -9,7 +9,7 @@ if (WANT_MONO OR WANT_QTCLIENT) # Always embed a hicolor fallback containing the most important (e.g. tray) icons. # The .qrc contains aliases, so it's best to keep this manually written rather than autogenerated. - quassel_add_module(Resource::HicolorIcons) + quassel_add_module(Resource::HicolorIcons STATIC) target_sources(${TARGET} PRIVATE hicolor_icons.qrc) set_target_properties(${TARGET} PROPERTIES AUTOMOC OFF AUTOUIC OFF) @@ -64,10 +64,5 @@ if (WANT_MONO OR WANT_QTCLIENT) # Install Quassel-specific ones from Oxygen into hicolor as fallback install(DIRECTORY oxygen/ DESTINATION ${CMAKE_INSTALL_ICONDIR}/hicolor) endif() - - # For a system install, also copy to pixmaps - if (CMAKE_INSTALL_PREFIX STREQUAL "/usr") - install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps) - endif() endif() endif()