Commit c3b3c187 authored by Raymond Wooninck's avatar Raymond Wooninck

compile++ (Install icons properly)

parent 88b15ac0
......@@ -22,6 +22,7 @@ find_package(KF5 REQUIRED COMPONENTS
TextWidgets
XmlGui
KIO
KDELibs4Support
Wallet
NotifyConfig
NewStuff)
......
......@@ -4,6 +4,7 @@ configure_file(config-ksirk.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksirk.h)
add_subdirectory( skins )
add_subdirectory( iris )
add_subdirectory( icons )
# FIND_PACKAGE(ZLIB REQUIRED)
......@@ -110,8 +111,6 @@ ki18n_wrap_ui(ksirk_SRCS ${ksirk_UI} )
kconfig_add_kcfg_files( ksirk_SRCS ksirksettings.kcfgc )
#kde4_add_app_icon(ksirk_SRCS "hi*-app-ksirk.png")
add_executable(ksirk ${ksirk_SRCS})
target_link_libraries(ksirk
......@@ -132,8 +131,6 @@ install( TARGETS ksirk ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
ecm_install_icons( ICONS hi128-apps-ksirk.png hi16-apps-ksirk.png hi22-apps-ksirk.png hi32-apps-ksirk.png hi48-apps-ksirk.png hi64-apps-ksirk.png lo16-apps-ksirk.png lo32-apps-ksirk.png DESTINATION ${KDE_INSTALL_ICONDIR} )
install( FILES ksirksettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} )
install( PROGRAMS org.kde.ksirk.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
install( FILES ksirkui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/ksirk )
......
add_subdirectory( hicolor )
add_subdirectory( locolor )
ecm_install_icons( ICONS
128-apps-ksirk.png
64-apps-ksirk.png
48-apps-ksirk.png
32-apps-ksirk.png
22-apps-ksirk.png
16-apps-ksirk.png
sc-apps-ksirk.svgz
DESTINATION ${KDE_INSTALL_ICONDIR}
THEME hicolor )
ecm_install_icons( ICONS
32-apps-ksirk.png
16-apps-ksirk.png
DESTINATION ${KDE_INSTALL_ICONDIR}
THEME locolor )
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