Commit 4507e6d6 authored by Christoph Feck's avatar Christoph Feck

KF5 port: kde4_install_icons -> ecm_install_icons

parent dc9147b2
......@@ -11,6 +11,7 @@ add_definitions(-DTRANSLATION_DOMAIN="kmag")
include(KDEInstallDirs)
include(KDECompilerSettings)
include(KDECMakeSettings)
include(ECMInstallIcons)
include(FeatureSummary)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
......@@ -66,4 +67,4 @@ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
install( PROGRAMS kmag.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
install( FILES kmagui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kmag )
kde4_install_icons( ${ICON_INSTALL_DIR} )
ecm_install_icons( ICONS 16-apps-kmag.png 32-apps-kmag.png DESTINATION ${ICON_INSTALL_DIR} )
kde4_install_icons(${DATA_INSTALL_DIR}/kmag/icons)
set(kmag_icons
16-actions-followmouse.png
16-actions-hidemouse.png
16-actions-window.png
)
ecm_install_icons(ICONS ${kmag_icons} DESTINATION ${DATA_INSTALL_DIR}/kmag/icons)
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