not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / dataengines / mouse / CMakeLists.txt
blob86d7accb40a6d44fa8572987070e137bf07c2ae6
1 include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../../)
3 set(mouse_engine_SRCS
4     mouseengine.cpp
7 if (X11_Xfixes_FOUND)
8     set(mouse_engine_SRCS ${mouse_engine_SRCS} cursornotificationhandler.cpp)
9 endif (X11_Xfixes_FOUND)
11 kde4_add_plugin(plasma_engine_mouse ${mouse_engine_SRCS})
12 target_link_libraries(plasma_engine_mouse ${KDE4_KDEUI_LIBS} ${KDE4_PLASMA_LIBS} ${X11_LIBRARIES})
13 if (X11_Xfixes_FOUND)
14         target_link_libraries(plasma_engine_mouse ${X11_Xfixes_LIB})
15 endif (X11_Xfixes_FOUND)
17 install(TARGETS plasma_engine_mouse DESTINATION ${PLUGIN_INSTALL_DIR})
18 install(FILES plasma-dataengine-mouse.desktop DESTINATION ${SERVICES_INSTALL_DIR} )