Move icons to data dir

Summary: We don't need them in the toplevel directory.

Test Plan: Compiles.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D18771
icc-effect-5.17.5
Vlad Zagorodniy 2019-02-05 23:56:42 +02:00
parent b40c702c76
commit b06c1ea5a4
7 changed files with 13 additions and 12 deletions

View File

@ -694,18 +694,6 @@ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kwin_export.h DESTINATION ${INCLUDE_I
# 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)

View File

@ -1,3 +1,5 @@
add_subdirectory(icons)
########### next target ###############
add_executable( kwin5_update_default_rules update_default_rules.cpp)

View File

Before

Width:  |  Height:  |  Size: 380 B

After

Width:  |  Height:  |  Size: 380 B

View File

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 611 B

View File

Before

Width:  |  Height:  |  Size: 877 B

After

Width:  |  Height:  |  Size: 877 B

11
data/icons/CMakeLists.txt Normal file
View File

@ -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
)