diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -694,18 +694,6 @@ # Install the KWin/Script service type install( FILES scripting/kwinscript.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) -ecm_install_icons( - ICONS - 16-apps-kwin.png - 32-apps-kwin.png - 48-apps-kwin.png - sc-apps-kwin.svgz - DESTINATION - ${ICON_INSTALL_DIR} - THEME - hicolor -) - add_subdirectory(qml) add_subdirectory(packageplugins) diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,3 +1,5 @@ +add_subdirectory(icons) + ########### next target ############### add_executable( kwin5_update_default_rules update_default_rules.cpp) diff --git a/16-apps-kwin.png b/data/icons/16-apps-kwin.png rename from 16-apps-kwin.png rename to data/icons/16-apps-kwin.png diff --git a/32-apps-kwin.png b/data/icons/32-apps-kwin.png rename from 32-apps-kwin.png rename to data/icons/32-apps-kwin.png diff --git a/48-apps-kwin.png b/data/icons/48-apps-kwin.png rename from 48-apps-kwin.png rename to data/icons/48-apps-kwin.png diff --git a/data/icons/CMakeLists.txt b/data/icons/CMakeLists.txt new file mode 100644 --- /dev/null +++ b/data/icons/CMakeLists.txt @@ -0,0 +1,11 @@ +ecm_install_icons( + ICONS + 16-apps-kwin.png + 32-apps-kwin.png + 48-apps-kwin.png + sc-apps-kwin.svgz + DESTINATION + ${ICON_INSTALL_DIR} + THEME + hicolor +) diff --git a/sc-apps-kwin.svgz b/data/icons/sc-apps-kwin.svgz rename from sc-apps-kwin.svgz rename to data/icons/sc-apps-kwin.svgz