# 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)
# 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()