Commit 0383e084 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

List icon files explicitly instead of using a GLOB

parent 213b36ab
......@@ -14,8 +14,14 @@ qt5_add_resources(kcachegrind_SRCS
kcachegrind.qrc
)
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/*-apps-kcachegrind.png")
ecm_add_app_icon(kcachegrind_SRCS ICONS ${ICONS_SRCS})
set(kcachegrind_ICONS
32-apps-kcachegrind.png
48-apps-kcachegrind.png
64-apps-kcachegrind.png
128-apps-kcachegrind.png
)
ecm_add_app_icon(kcachegrind_SRCS ICONS ${kcachegrind_ICONS})
add_executable(kcachegrind ${kcachegrind_SRCS})
......@@ -40,6 +46,10 @@ install( PROGRAMS org.kde.kcachegrind.desktop DESTINATION ${KDE_INSTALL_APPDIR
install( FILES org.kde.kcachegrind.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR} )
install( FILES tips DESTINATION ${KDE_INSTALL_DATADIR}/kcachegrind )
ecm_install_icons( ICONS 128-apps-kcachegrind.png 64-apps-kcachegrind.png 32-apps-kcachegrind.png 48-apps-kcachegrind.png DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor )
ecm_install_icons(
ICONS ${kcachegrind_ICONS}
DESTINATION ${KDE_INSTALL_ICONDIR}
THEME hicolor
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment