1 project(kdedglobalaccel)
3 ###############################################################################
4 ### KDED Global Accel Daemon
5 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=181)
7 include_directories( ${KDE4_KDEUI_INCLUDES} )
9 set(kded_globalaccel_SRCS
13 globalshortcutsregistry.cpp
14 globalshortcutcontext.cpp)
17 set( kded_globalaccel_SRCS ${kded_globalaccel_SRCS} kglobalaccel_x11.cpp )
20 set( kded_globalaccel_SRCS ${kded_globalaccel_SRCS} kglobalaccel_mac.cpp )
23 set( kded_globalaccel_SRCS ${kded_globalaccel_SRCS} kglobalaccel_win.cpp )
26 set( kded_globalaccel_SRCS ${kded_globalaccel_SRCS} kglobalaccel_qws.cpp )
29 kde4_add_plugin( kded_globalaccel ${kded_globalaccel_SRCS} )
30 target_link_libraries(kded_globalaccel ${KDE4_KDEUI_LIBS} ${X11_LIBRARIES})
33 target_link_libraries(kded_globalaccel ${CARBON_LIBRARY})
37 install( TARGETS kded_globalaccel DESTINATION ${PLUGIN_INSTALL_DIR} )
39 install( FILES kdedglobalaccel.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
40 install( FILES kconf/kdedglobalaccel_kde42.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update)