X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=data%2FCMakeLists.txt;h=536d82a623a344eb5e385df49b99aed89073eb83;hp=5c6762d5954182004b5153bb82deda840333dc2c;hb=be8eb9963bb6c0e6522f818c51f9b6930adc7876;hpb=d82f98b8cf9c7c83f3aab1d7f010ccf8bdd2c003 diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 5c6762d5..536d82a6 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,5 +1,5 @@ if (BUILD_GUI) - if (KDE4_FOUND OR (UNIX AND NOT APPLE)) + if (UNIX AND NOT APPLE) if (WANT_QTCLIENT) install(FILES quasselclient.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) endif() @@ -8,17 +8,16 @@ if (BUILD_GUI) install(FILES quassel.desktop DESTINATION ${CMAKE_INSTALL_APPDIR}) endif() - if (WITH_KDE4) - install(FILES quassel.notifyrc DESTINATION ${CMAKE_INSTALL_DATADIR}/quassel) - endif() - if (WITH_KF5) install(FILES quassel.notifyrc DESTINATION ${CMAKE_INSTALL_KNOTIFY5RCDIR}) endif() endif() if (EMBED_DATA) - set(CLIENT_RCS ${CLIENT_RCS} ${CMAKE_CURRENT_SOURCE_DIR}/data.qrc PARENT_SCOPE) + quassel_add_resource(Data PREFIX data PATTERNS + networks.ini + stylesheets/default.qss + ) else() install(FILES networks.ini DESTINATION ${CMAKE_INSTALL_DATADIR}/quassel) install(DIRECTORY stylesheets DESTINATION ${CMAKE_INSTALL_DATADIR}/quassel)