not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / systemsettings / CMakeLists.txt
blob504de72fbce3dcfb40100ca722f475c40cfe63d6
1 KDE4_NO_ENABLE_FINAL(systemsettings)
2 ADD_SUBDIRECTORY( categories ) 
4 ########### next target ###############
6 SET(systemsettings_SRCS
7    kcmodulemodel.cpp
8    kcmultiwidget.cpp
9    main.cpp
10    mainwindow.cpp
11    menuitem.cpp
12    moduleiconitem.cpp
13    )
15 kde4_add_app_icon(systemsettings_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/categories/preferences-system.png")
16    
17 KDE4_ADD_EXECUTABLE(systemsettings ${systemsettings_SRCS})
19 # Uses KIO for KRun and KUtils for KCModuleInfo
20 TARGET_LINK_LIBRARIES(systemsettings ${KDE4_KUTILS_LIBS} ${KDE4_KIO_LIBS} )
22 INSTALL( TARGETS systemsettings ${INSTALL_TARGETS_DEFAULT_ARGS})
25 ########### install files ###############
27 install( FILES systemsettings.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
28 install( FILES systemsettingsrc DESTINATION ${SYSCONF_INSTALL_DIR} )
29 install( FILES systemsettingsui.rc DESTINATION ${DATA_INSTALL_DIR}/systemsettings )