~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to plasma/generic/dataengines/mouse/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/../../)
 
2
 
 
3
set(mouse_engine_SRCS
 
4
    mouseengine.cpp
 
5
)
 
6
 
 
7
if (X11_Xfixes_FOUND)
 
8
    set(mouse_engine_SRCS ${mouse_engine_SRCS} cursornotificationhandler.cpp)
 
9
endif (X11_Xfixes_FOUND)
 
10
 
 
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)
 
16
 
 
17
install(TARGETS plasma_engine_mouse DESTINATION ${PLUGIN_INSTALL_DIR})
 
18
install(FILES plasma-dataengine-mouse.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
 
19